Skip to content

Instantly share code, notes, and snippets.

View sebastiandelaroche's full-sized avatar
🤙

Sebastian De La Roche sebastiandelaroche

🤙
  • kerthin
View GitHub Profile
@sebmarkbage
sebmarkbage / ElementFactoriesAndJSX.md
Last active May 17, 2022 11:06
New React Element Factories and JSX

New React Element Factories and JSX

In React 0.12, we're making a core change to how React.createClass(...) and JSX works.

If you're using JSX in the typical way for all (and only) React components, then this transition will be seamless. Otherwise there are some minor breaking changes described below.

The Problem