Skip to content

Commit d5a1543

Browse files
committed
be consistent with npm/yarn
1 parent 0aa4d65 commit d5a1543

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Reactfire
22

3-
```shell
3+
```bash
44
npm install reactfire
5+
# or
6+
yarn add reactfire
57
```
68

79
[Hooks](https://reactjs.org/docs/hooks-intro.html), Context Providers, and Components that make it easy
@@ -31,8 +33,10 @@ We'll build a web app that displays, in _real time_, the tastiness of a burrito.
3133

3234
1. Install reactfire and the Firebase SDK
3335

34-
```shell
36+
```bash
3537
yarn add firebase reactfire@canary
38+
# or
39+
npm install firebase reactfire@canary
3640
```
3741

3842
1. Create a document in Cloud Firestore.
@@ -146,13 +150,15 @@ We'll build a web app that displays, in _real time_, the tastiness of a burrito.
146150

147151
1. Run your app!
148152

149-
```shell
153+
```bash
154+
yarn start
155+
# or
150156
npm run start
151157
```
152158

153159
1. Edit the value of `yummy` in the Firebase console, and watch it update in real time in your app! 🔥🔥🔥
154160

155-
1. _"But what about Firebase Performance Monitoring?"_
161+
1. _But what about Firebase Performance Monitoring?_
156162

157163
By passing the `initPerformance` prop to `FirebaseAppProvider`, our app will automatically measure [common performance stats](https://firebase.google.com/docs/perf-mon/automatic-web), as well as report on our custom trace, `load-burrito-status`, that we set in the `traceId` prop of `SuspenseWithPerf`.
158164

0 commit comments

Comments
 (0)