Make API compatible with mobs-utils fromPromise
Closed this issue · 2 comments
yatsyk commented
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?
IjzerenHein commented
I'm not sure I understand. Can you share a code snippet on how the updated API would look like/work?
Cheers
IjzerenHein commented
Closing due to inactivity and no response