IjzerenHein / firestorter

Use Google Firestore in React with zero effort, using MobX 🤘
http://firestorter.com
MIT License
378 stars 50 forks source link

Make API compatible with mobs-utils fromPromise #56

Closed yatsyk closed 5 years ago

yatsyk commented 5 years ago

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 5 years ago

I'm not sure I understand. Can you share a code snippet on how the updated API would look like/work? Cheers

IjzerenHein commented 5 years ago

Closing due to inactivity and no response