Replies: 2 comments
|
Anyone have thoughts on this? I'd be happy to brainstorm, contrib something, etc. Seems like low hanging fruit with a potential big increase in developer experience. |
0 replies
|
100% would be nice to have a nice approach to do this |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In my experience I always need to convert
firebase.firestore.Timestamps toDates so I can work with JS date libs, likedate-fns. That means I end up with annoying/gross pollutions like:💡 Would it make sense for reactfire's hooks to have the option to do this automatically?
Maybe something like:
(Sidenote: I really want to be able to specify those
ReactFireOptionsglobally once, because I'd always use the exact same options everywhere).All reactions