Maybe this is a future video, but how exactly does this integrate with AngularFirestore? I integrated @ngrx/entity into one of my apps the other day, but the only entity operator I'm really using is 'adapter.addAll()'. In my service, I subscribe to someCollection.snapshotChanges(), and I map the data from that observable to an action which runs the 'adapter.addAll(action.payload.data, state). addAll replaces the current collection with provided collection, so the way I have it setup right now is working, but I figure I should be utilizing stateChanges() or auditTrail() so to not load a whole new collection every time. It's like my database is with firebase not ngrx/entity, I don't know, state is confusing. Anyways thanks for your videos, I started learning/utilizing ngrx about a month, ago and they have been a huge help.
I actually like your approach - redux dev tools is doing basically what audit trail would do and statechanges isn't really useful in this scenario. I am releasing a video tomorrow that extends this video with ngrx effects and firestore, but it's only available to pro members.
First of thank you for the guides.. Have you experienced ngrx/entity to be slow with writing data to state? A 100 results query took up to 30 sec longer than our react redux based app. I've tried adding console.log with the api results after the switchmap in the effect, and it seemes the delay is when the reducer adds the action.payload to the adapter.
Nice. Can you make a tutorial about Injecting Reducer, Why we need that? I also suggest you take a look at @nrwl/nx implementation of actions, they use interface instead of class, reduce code boilerplate and still give the full typescript autocompletion
I did it that way primarily to show the shape of the entity data. The docs have a better explanation of the method here github.com/ngrx/platform/blob/master/docs/entity/adapter.md#getinitialstate
It's optional. Ngrx creates one big reducer for you, the meta reducer allows you to run code on the state/actions that flow through it. It can useful for debugging/logging.
No, I don't. I offer a pro membership that provides full access to my content + other benefits. Tomorrow, I am releasing a pro video for ngrx with the Firestore database.
piece, love ur videos, can u help me with an advice? im new in ngrx world, i have already implemented some app in it, but i totally have no idea what entities are doin and where to use em, i have already read the docs, and its like a simple staff but my brain cannot get it, could u lead me to some detailed explanation or example plz, (example-app is already reviewed :)), thank u
Saves time for those who knw ngrx
who just need the concept understanding to get started
woah woah woah, slow down speedy gonzales
I watched with speed set at 0.75
Just wanted to thank you for the freakin awesome videos/content you post.
+Kevin Thank you! Really appreciate that.
Maybe this is a future video, but how exactly does this integrate with AngularFirestore? I integrated @ngrx/entity into one of my apps the other day, but the only entity operator I'm really using is 'adapter.addAll()'. In my service, I subscribe to someCollection.snapshotChanges(), and I map the data from that observable to an action which runs the 'adapter.addAll(action.payload.data, state). addAll replaces the current collection with provided collection, so the way I have it setup right now is working, but I figure I should be utilizing stateChanges() or auditTrail() so to not load a whole new collection every time. It's like my database is with firebase not ngrx/entity, I don't know, state is confusing.
Anyways thanks for your videos, I started learning/utilizing ngrx about a month, ago and they have been a huge help.
I actually like your approach - redux dev tools is doing basically what audit trail would do and statechanges isn't really useful in this scenario. I am releasing a video tomorrow that extends this video with ngrx effects and firestore, but it's only available to pro members.
Great video ! Incredibly fast but rather have this than a 30 min vid explaining the same.
Simple and clear, I love it, very cool, thanks.
First of thank you for the guides.. Have you experienced ngrx/entity to be slow with writing data to state? A 100 results query took up to 30 sec longer than our react redux based app. I've tried adding console.log with the api results after the switchmap in the effect, and it seemes the delay is when the reducer adds the action.payload to the adapter.
Any updates on how this situation panned out?
How do I create selectors for nested entities?
Thank you
How can we use ngrx/entity with normalizr, which would be the appropriate pattern?
Great and very Helpful tutorial!!!
Make one video on ngrx-data. Thank You .
Do you have any examples with lazy loaded modules? is the same approach as in the example? thanks for the tutorial! super well explained!
do we use all ngrx store,effect & entity?
Yes, they all work together to handle different use cases.
why ng2-redux more easy to intergrate? what do u prefer between this?
Excelent tutorial! You may have missed exporting the Pizza Order Component to the main module... Thanks!
Awesome man!! Make one video on ngrx-data. Thank You .
Can you tell me which the color and icon theme, fonts you r using? They are really nice
Thank you! I use atom-one-dark for syntax and "VS code icons" for icons.
Nice. Can you make a tutorial about Injecting Reducer, Why we need that? I also suggest you take a look at @nrwl/nx implementation of actions, they use interface instead of class, reduce code boilerplate and still give the full typescript autocompletion
thanks to share! one question: the initial state it was your convention or the way that @ngrx/entity handles the elements?
I did it that way primarily to show the shape of the entity data. The docs have a better explanation of the method here github.com/ngrx/platform/blob/master/docs/entity/adapter.md#getinitialstate
Thanks!
Can you tell me what is meta reducer? Why do we need this?
It's optional. Ngrx creates one big reducer for you, the meta reducer allows you to run code on the state/actions that flow through it. It can useful for debugging/logging.
Angular Firebase tnx 🙂
Angular Firebase do you have a full ngrx course to buy?
No, I don't. I offer a pro membership that provides full access to my content + other benefits. Tomorrow, I am releasing a pro video for ngrx with the Firestore database.
How about Injector reducer? Why do we need that?
createSelectors and createFeautureSelectors are always confusing. How does this helper function work?
piece, love ur videos, can u help me with an advice? im new in ngrx world, i have already implemented some app in it, but i totally have no idea what entities are doin and where to use em, i have already read the docs, and its like a simple staff but my brain cannot get it, could u lead me to some detailed explanation or example plz, (example-app is already reviewed :)), thank u
what should we do if we want to persist our data???
Thanks! how add realtime?
why ngrx store devtools cannot jump ? it will revert to last state how to fix this?
Object "defaultPizza" is a collection; so the variable name is inappropriate.
What's your console font?
How do I extend EntityAdapter?
it is cool !!! thanks for share this !
now im craving for pizza :/
+Val that was my #1 goal with this video.
@ngrx/data vs @ngrx/entity🙏🙏🙏
very fast and can not grap them easy, but anyway thanks for sharing
Where the hell is pizzareducer coming from?
Where THE FUCK is it coming from?
honestly.. the video is too fast to grab...
Way too slow! Increase the speed of typing/uncommenting, at least x20.
Good content, but insane presentation.