My proposition is to extend API with computed props value and state. After that our react code will be the same if we render value that we received from firestore or for example fetched from rest endpoint.
Mobx-utils is quite popular library by mobx author Michel Weststrate.
I’m not sure is this good idea or not. What do you think?
My proposition is to extend API with computed props value and state. After that our react code will be the same if we render value that we received from firestore or for example fetched from rest endpoint.
Mobx-utils is quite popular library by mobx author Michel Weststrate.
I’m not sure is this good idea or not. What do you think?