mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-05-30 17:43:05 +08:00
Update README.md
This commit is contained in:
@@ -406,7 +406,7 @@ With the CodePush plugin downloaded and linked, and your app asking CodePush whe
|
||||
|
||||
The simplest way to do this is to "CodePush-ify" your app's root component. To do so, you can choose one of the following two options:
|
||||
|
||||
* **Option 1: Wrap your root component using the `codePush` decorator function:**
|
||||
* **Option 1: Wrap your root component with the `codePush` higher-order component:**
|
||||
|
||||
```javascript
|
||||
import codePush from "react-native-code-push";
|
||||
|
||||
Reference in New Issue
Block a user