react-native/local-cli/generator/templates
Patrick Puritscher bde2f30474 Update templates to ES2015
Summary:
I don't know the reasons, why the templates are written with the `react.createClass`method. Today I see lot's of examples using the **ES6 way**. In my own projects I'm using this way, too.

I removed `use strict`, since *Module code is always strict mode code*, according to the [spec](http://www.ecma-international.org/ecma-262/6.0/#sec-strict-mode-code).

Maybe we should **discuss** the usage of ES6 in the templates.
Closes https://github.com/facebook/react-native/pull/4891

Reviewed By: svcscm

Differential Revision: D2789493

Pulled By: androidtrunkagent

fb-gh-sync-id: 90e70f787017c61dc64cbc9f0beb02331fa749ec
2015-12-25 02:17:30 -08:00
..
_gitignore add android .gradle and build directories to sample app gitignore 2015-10-01 15:09:44 -04:00
_watchmanconfig [cli] convert project generation to use yeoman 2015-08-12 12:04:27 +01:00
index.android.js Update templates to ES2015 2015-12-25 02:17:30 -08:00
index.ios.js Update templates to ES2015 2015-12-25 02:17:30 -08:00