File tree 1 file changed +14
-1
lines changed 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Typed Firestore - React
2
2
3
- Elegant, typed React hooks for handling Firestore documents in React
3
+ Elegant, typed abstractions for handling Firestore documents in React
4
4
applications.
5
5
6
6
This library is based on the same concepts as
@@ -209,3 +209,16 @@ the data exists.
209
209
In that sense, you do not even need the loading state at all. It would be
210
210
sufficient to simply wait for the data to become defined, but for code
211
211
readability I would still recommend using the loading state variable.
212
+
213
+ ## Fork
214
+
215
+ This library is currently based on a fork of
216
+ [ react-firebase-hooks] ( https://github.com/csfrequency/react-firebase-hooks ) ,
217
+ which was stripped and cleaned up.
218
+
219
+ The hooks in this package are mostly a stronger-typed, more focussed abstraction
220
+ on top of the Firestore hooks from that library.
221
+
222
+ I plan to rewrite the code at some point because it can probably be simplified
223
+ and improved, but for now it allows us to rely on the functionality without
224
+ having to write tests.
You can’t perform that action at this time.
0 commit comments