Skip to content

Commit 5091a53

Browse files
committed
More doc tweaks
1 parent 5f92e4f commit 5091a53

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ A set of reusable React Hooks for [Firebase](https://firebase.google.com/).
77

88
> [Hooks](https://reactjs.org/docs/hooks-intro.html) are a new feature proposal that lets you use state and other React features without writing a class. They’re currently in React v16.7.0-alpha and being discussed in an open RFC.
99
10+
> React Hooks are not currently supported in React Native. As soon as they are, support will be added for use with both the Firebase JS SDK and React Native Firebase.
11+
1012
## Installation
1113

1214
React Firebase Hooks requires **React 16.7.0-alpha.0 or later** and **Firebase v5.0.0 or later**.
@@ -17,9 +19,11 @@ npm install --save react-firebase-hooks
1719

1820
This assumes that you’re using the [npm](https://npmjs.com) package manager with a module bundler like [Webpack](https://webpack.js.org/) or [Browserify](http://browserify.org/) to consume [CommonJS](http://webpack.github.io/docs/commonjs.html) modules.
1921

20-
## React Native
22+
## Why?
23+
24+
It's clear that there is a **lot** of hype around React Hooks despite them still being in alpha, but this hype merely reflects that there are obvious real world benefits to React developers everywhere.
2125

22-
React Hooks are not currently supported in React Native. As soon as they are, support will be added for use with both the Firebase JS SDK and React Native Firebase.
26+
This library explores how React Hooks can work to make integration with Firebase even more straightforward than it already is. It takes inspiration for naming from RxFire and is based on an internal library that we have used in a number of apps prior to the release of React Hooks. The implementation with hooks is 10x simpler than our previous implementation.
2327

2428
## Documentation
2529

0 commit comments

Comments
 (0)