Browse Source

Formatting

An extra "`" snuck in there.
main
Josh Duck 11 years ago
parent
commit
73212d8df7
  1. 2
      _posts/2014-03-28-the-road-to-1.0.md

2
_posts/2014-03-28-the-road-to-1.0.md

@ -20,7 +20,7 @@ This is really connected to everything. We want to keep the API as simple as pos
## ES6 ## ES6
Before we even launched React publicly, members of the team were talking about how we could leverage ES6, namely classes`, to improve the experience of creating React components. Calling `React.createClass(...)` isn't great. We don't quite have the right answer here yet, but we're close. We want to make sure we make this as simple as possible. It could look like this: Before we even launched React publicly, members of the team were talking about how we could leverage ES6, namely classes, to improve the experience of creating React components. Calling `React.createClass(...)` isn't great. We don't quite have the right answer here yet, but we're close. We want to make sure we make this as simple as possible. It could look like this:
```js ```js
class MyComponent extends React.Component { class MyComponent extends React.Component {

Loading…
Cancel
Save