show dbs
Overview | |
---|---|
JSX HTML | <div>...</div> |
JSX Component | <Component property={javascript} /> <Component property='string' /> |
JSX Component with Children | <Component>{children}</Component> reference: props.children |
Escaping JavaScript | {...} |
require statements |
const React = require('react'); const ReactDOM = require('react-dom'); |
npm modules |
react , react-dom |
Method | Side effects1 | State updates2 | Example uses |
---|---|---|---|
Mounting | |||
componentWillMount |
✓ | Constructor equivalent for createClass |
|
render |
Create and return element(s) | ||
componentDidMount |
✓ | ✓ | DOM manipulations, network requests, etc. |
Updating | |||
componentWillReceiveProps |
✓ | Update state based on changed props |
I have summarized and compiled a list of React.JS best practices from various sources across the internet.
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.