Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit aabf7f4

Browse files
author
Richard Hua
authored
Update README.md
1 parent 982d484 commit aabf7f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,8 @@ The simplest way to do this is to "CodePush-ify" your app's root component. To d
421421

422422
* **Option 2: Use the [ES7 decorator](https://github.com/wycats/javascript-decorators) syntax:**
423423

424+
*NOTE: Decorators are not yet supported in Babel 6.x pending proposal update.* You may need to enable it by installing and using [babel-preset-react-native-stage-0](https://github.com/skevy/babel-preset-react-native-stage-0#babel-preset-react-native-stage-0).
425+
424426
```javascript
425427
import codePush from "react-native-code-push";
426428
@@ -431,8 +433,6 @@ The simplest way to do this is to "CodePush-ify" your app's root component. To d
431433
}
432434
```
433435

434-
*NOTE: Decorators are not yet supported in Babel 6.x pending proposal update.* You may need to enable it by installing and using [babel-preset-react-native-stage-0](https://github.com/skevy/babel-preset-react-native-stage-0#babel-preset-react-native-stage-0).
435-
436436
With the default options, CodePush will check for updates on every app start. If an update is available, it will be silently downloaded, and installed the next time the app is restarted (either explicitly by the end user or by the OS), which ensures the least invasive experience for your end users. If an available update is mandatory, then it will be installed immediately, ensuring that the end user gets it as soon as possible.
437437

438438
If you would like your app to discover updates more quickly, you can also choose to sync up with the CodePush server every time the app resumes from the background.

0 commit comments

Comments
 (0)