Replies: 2 comments 5 replies
-
Mutations should be done via If you are not making explicit mutations and need to poll for changes, you can do that either either a |
Beta Was this translation helpful? Give feedback.
0 replies
-
Would you kindly have an example what a basic integration with firebase real time database (as per my opening post) would look like? That would help a lot! |
Beta Was this translation helpful? Give feedback.
5 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.
Uh oh!
There was an error while loading. Please reload this page.
-
I might be doing something wrong here but I can' figure out how to use the
loader
property of routes to listen and re-render onfirebase real-time database changes
.Here is my code:
The issue here is that the
loader
will only fetch the data once prior to the initial render, but if the view has operations that updates thedatabase
, then the component does not get automatically re-rendered. I attempted to leverageonValue
listener fromfirebase
but that does not seem to work. And I would like to control this re-render logic at the routing level to better organise my code.Is there any ways to set/bind components to a databse at the router level, if not, maybe something to consider?
Beta Was this translation helpful? Give feedback.
All reactions