Type 'from' in the editor and...
Using AmplifyJS with RequireJS 2.0
With the lastest version of Require, a new config object was introduced, the
That allows Amplify to now be used within AMD projects.
|Name of thing||Sorta like...||Mounted?||Can you even setState?||What would you say... ya do here?|
|constructor||initialize()||nope||nope||init stuff NO side effects|
|componentWillMount||beforeDomReady()||nope||yeah but don't||Only needed in createClass now use constructor for most things|
|render||render||nope||please no||render stuff and don't set any state please|
|componentDidMount||domReady()||yup||yup||DOM is a go init jQuery plugins dispatch stuff|