Skip to content

Instantly share code, notes, and snippets.

@azs06
Last active February 17, 2018 09:48
Show Gist options
  • Select an option

  • Save azs06/6e2410a1b3b190e7fddb7443833dcdd1 to your computer and use it in GitHub Desktop.

Select an option

Save azs06/6e2410a1b3b190e7fddb7443833dcdd1 to your computer and use it in GitHub Desktop.
React.js Notes

Don’t put quotes around curly braces when embedding a JavaScript expression in an attribute. You should either use quotes (for string values) or curly braces (for expressions), but not both in the same attribute.

In practice, most React apps only call ReactDOM.render() once. PropTypes validation is ignored in production build of React.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment