Closed ItsAlexousd closed 9 months ago
This is looking awesome! I just merged the storage features from #112 and that created some conflicts. Just minor stuff that needs to be moved around. If you want to update the PR I should be able to merge right away, otherwise I'll fix it up next week.
All done! 😉
Sorry about the delay. This looks great!
This PR introduces two new components,
Node
andNodeList
, designed to interact with Firebase's Realtime Database.Node
: Fetches and listens to data from a single node in the Realtime Database.NodeList
: Retrieves lists of nodes and listens to their data in realtime.Both components support real-time data updates, loading states, and provide convenient slot props for accessing the data and its reference.
These additions aim to provide developers with a more seamless experience when working with the Realtime Database, in the same spirit as the existing Firestore components. Detailed documentation and usage examples are also updated in the README.
⚠️ Tests fail because the Realtime Database is not enabled on the Firebase project! (tested with emulator, see PR #114)
Please review the changes and let me know if any adjustments are required.