Skip to content

Commit 69631c6

Browse files
fix(docs): Omit AsyncStorage from basic ReactotronConfig.js (#1479)
## Please verify the following: - [X ] `yarn build-and-test:local` passes - [X ] I have added tests for any new features, if relevant - [X ] `README.md` (or relevant documentation) has been updated with your changes ## Describe your PR Without AsyncStorage dependency, the instruction in "Step 2 - Initialization" simply doesn´t work if the developer app doesn´t already use AsyncStorage, since it does ´Reactotron.setAsyncStorageHandler(AsyncStorage)´ Since AsyncStorage isn´t required for the base configuration, remove it.
1 parent e41f128 commit 69631c6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/quick-start/react-native.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ Create a file in your root folder `ReactotronConfig.js` and paste this:
3333

3434
```js
3535
import Reactotron from "reactotron-react-native";
36-
import AsyncStorage from "@react-native-async-storage/async-storage";
3736

38-
Reactotron.setAsyncStorageHandler(AsyncStorage)
39-
.configure() // controls connection & communication settings
37+
Reactotron.configure() // controls connection & communication settings
4038
.useReactNative() // add all built-in react native plugins
4139
.connect(); // let's connect!
4240
```

0 commit comments

Comments
 (0)