I really liked this approach and I'm definitively going to use it! But I wonder how could it be used when we actually have to fetch data from an API?
It's easy, i'll make an example soon
Aslan, I like this approach quite a bit, but I have the same questions. What would it look like when fetching data from an API?
Hey @klouddy @gabrielaraujof , I've updated the stackblitz example with a real REST API and some interesting techniques on how to do optimistic updates and rollbacks: stackblitz.com/edit/angular-rxjs-s...
I've updated the stackblitz example with a rest api
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I really liked this approach and I'm definitively going to use it! But I wonder how could it be used when we actually have to fetch data from an API?
It's easy, i'll make an example soon
Aslan, I like this approach quite a bit, but I have the same questions. What would it look like when fetching data from an API?
Hey @klouddy @gabrielaraujof , I've updated the stackblitz example with a real REST API and some interesting techniques on how to do optimistic updates and rollbacks: stackblitz.com/edit/angular-rxjs-s...
I've updated the stackblitz example with a rest api