Skip to content

Commit 015b83f

Browse files
authored
Merge pull request #119 from Prashoon123/patch-1
Added installation instructions for yarn
2 parents 62e42f4 + 19a5019 commit 015b83f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@ React Firebase Hooks v3 requires **React 16.8.0 or later** and **Firebase v8.0.0
1313

1414
> Official support for Hooks was added to React Native in v0.59.0. React Firebase Hooks works with both the Firebase JS SDK and React Native Firebase, although some of the typings may be incorrect.
1515
16-
```
16+
```bash
17+
# with npm
1718
npm install --save react-firebase-hooks
19+
20+
# with yarn
21+
yarn add react-firebase-hooks
1822
```
1923

2024
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.

0 commit comments

Comments
 (0)