Skip to content

Commit 4e2ba23

Browse files
committed
Mention react-firebase-hooks
1 parent 198ce46 commit 4e2ba23

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Typed Firestore - React
22

3-
Elegant, typed React hooks for handling Firestore documents in React
3+
Elegant, typed abstractions for handling Firestore documents in React
44
applications.
55

66
This library is based on the same concepts as
@@ -209,3 +209,16 @@ the data exists.
209209
In that sense, you do not even need the loading state at all. It would be
210210
sufficient to simply wait for the data to become defined, but for code
211211
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.

0 commit comments

Comments
 (0)