Héctor Ramos 86684a0a29 docs(AppState.js): update example to ES6
Summary:
If this is the way to go, I'll update the rest of the document :)

> Explain the **motivation** for making this change. What existing problem does the pull request solve?

- Update basic usage to latest ES6-7 syntax
- Provide a working simple example of using AppState
Closes https://github.com/facebook/react-native/pull/11879

Differential Revision: D4443891

Pulled By: hramos

fbshipit-source-id: 87433e994ee56050e24a3853f24a94b54f5586d4
2017-01-23 11:58:33 -08:00
..
2016-12-07 17:13:42 -08:00
2016-11-04 05:43:44 -07:00
2017-01-03 13:43:35 -08:00
2016-11-02 12:29:15 -07:00
2016-08-09 06:43:46 -07:00
2017-01-23 11:28:51 -08:00
2016-11-23 11:28:29 -08:00