|4 months ago||6 days ago|
|MIT License||MIT License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
We haven't tracked posts mentioning react-localstorage yet.
Tracking mentions began in Dec 2020.
Convex vs. Firebase
7 projects | news.ycombinator.com | 21 Jun 2022
I was an early developer at Firebase. I think we made Firebase so easy to use and never spoke on about the technicals that the whole software ecosystem now underestimates the complexity involved. I see various Firebase competitors asserting various "mistakes it makes" without really understanding what it delivers, which is understandable because we never marketed it like that because we spoke only about how it can help you build easier.
The idea that n queries instead of a join is slow is not as true as you would think. Firestore supports streaming and pipelines at its core, and can reuse cache across operations. At the end of the day, the data goes over a narrow network channel. If you can saturate the channel, and don't leave any gaps, what's the performance difference if the data comes from a single query or many that are back-to-back. The data is transferred to the client either way. Both Firebase databases are pipelined, so this "many round trip" argument is not a decent argument if the client can issue the queries without waiting for responses (such as the code in this article).
The other is consistency levels and correctness. I constantly see devs call Firebase an eventually consistent database which is wrong, its causally consistent , and this makes a huge difference when trying to do OLTP. The offline capabilities are built on the consistency primitives, and it's the only way it can work. So while this convex article is banging on about "End-to-End Correctness Philosophy", they miss the most important quality of correctness, and if they are not careful, will miss the required engineering, and then be unable to deliver an offline cache over real-time streams. I see this playing out with Supabase, I warned them personally before they got into YCombinator that what they were building was not causally consistent. Since then, they have had to rearchitect their real-time features after shipping them. (I have not reviewed their latest design yet so I have no idea whether they have it right yet).
Many things sucked about Firebase. The bespoke security rules and the lack of views. So Convex is on the money shipping functions on the backend. I think Supabase is shipping competitors' mistakes with row-level security language. Personally, I think Firebase's mistakes can be fixed with the addition of an open-source Firebase server , as the clients are already open source and the mistakes are all to do with just the server. The real tech was always in the clients anyway (offline cache, connection management, operation queues).
Do you have to use an ODM for firestore?
2 projects | reddit.com/r/Firebase | 25 May 2022
Since you mentioned you're also using React, we have a React specific library (ReactFire) that also helps out quite a bit.
Get current user firestore database
1 project | reddit.com/r/Firebase | 23 May 2022
Use ReactFire! It's our official library for React and Firebase. It has a bunch of useful hooks that probably handle most of the actions you are looking to do.
Intro To ReactFire v4 - Login, Logout Create Account And Protected Routes
2 projects | dev.to | 1 Mar 2022
From the ReactFire Example Code, see this is in AppAuthWrapper.tsx. The AuthWrapper code is from the reactfire repo to account for the removal of AuthCheck component2 projects | dev.to | 1 Mar 2022
This is a quick walkthrough of a code example using ReactFire v4 in an application. The application supports login, logout, create an account, and protected routes. We also walk through two approaches for protecting routes since the AuthCheck component that existed in v3 no longer exists in v4 of ReactFire.
Is state management (React Context, Redux) really needed for Firebase?
1 project | reddit.com/r/Firebase | 31 Jan 2022
FWIW check out ReactFire, it gives you hooks and context for Firebase. Will likely feel more natural than using the vanilla platform-agnostic SDK.
React Query + Firestore = ❤️
1 project | reddit.com/r/Firebase | 5 Sep 20213 projects | reddit.com/r/reactnative | 5 Sep 2021
Share state using custom hooks
1 project | reddit.com/r/Firebase | 17 Aug 2021
- [email protected] (firebase hooks)
Firestore or MongoDB Atlas?
1 project | reddit.com/r/webdev | 16 Jul 2021
I'd say go for firebase, if you want ease of development i'd say firebase, also check out ReactFire as it allows you to integrate firebase in an easy way with react, and it also gives you a bunch of react hooks. And of course for making native apps, firebase has apks/libraries for that.
What are some alternatives?
react-query-firebase - React Query hooks for managing asynchronous operations with Firebase. Supports Authentication, Analytics, Firestore & Realtime Database.
use-pagination-firestore - 🔥 React hook for non-cumulative pagination of Firebase Firestore collections
Redux Slim Async - :alien: A Redux middleware to ease the pain of tracking the status of an async action
strapi-connector-firestore - Strapi database connector for Firestore database on Google Cloud Platform.
rowy - Rowy is an open-source low-code platform for Firebase and Firestore. Airtable-like UI with cloud functions workflows in JS/TS, all in your browser.
react-famous - React bridge to Famo.us
react-unity-webgl - React Unity WebGL provides a modern solution for embedding Unity WebGL builds in your React Application while providing advanced APIs for two way communication and interaction between Unity and React.
react-children-utilities - Extended utils for ⚛️ React.Children data structure that adds recursive filter, map and more methods to iterate nested children.
react-swf - Shockwave Flash Player component for React