Skip to content

Commit 4c92121

Browse files
committed
Update README.md
1 parent 0f133f0 commit 4c92121

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ npm install react-native-react-bridge react-native-webview
4747
npm install react-dom
4848

4949
# Necessary only if you render Preact app in WebView
50+
# preact >= 10.0
5051
npm install preact
5152
```
5253

5354
### Requirements
5455

5556
- react >= 16.8
5657
- react-native >= 0.60
57-
- (preact >= 10.0)
5858

5959
### Supported react-native versions
6060

@@ -78,11 +78,14 @@ module.exports = {
7878
babelTransformerPath: require.resolve('react-native-react-bridge/lib/plugin'),
7979
...
8080
},
81+
/*
82+
// optional config
8183
rnrb: {
8284
// Set `true` if you use Preact in web side.
8385
// This will alias imports from `react` and `react-dom` to `preact/compat` automatically.
8486
preact: true
8587
},
88+
*/
8689
...
8790
};
8891
```

0 commit comments

Comments
 (0)