Skip to content
This repository was archived by the owner on Feb 19, 2022. It is now read-only.

Update index.jsx #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/classes/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default React.createClass({
<p>
Class syntax has been added to ES6.
The underlying inheritance model is still prototypal but the class syntax can make it easier to reason about relationships.
To create a class just use the <Code>Class</Code> keyword. Classes can be created with class expressions or class declarations.
To create a class just use the <Code>class</Code> keyword. Classes can be created with class expressions or class declarations.
Unlike function declarations, class declarations are not hoisted.
<Playground codeText={a} es6Console={true} scope={{}} />
</p>
Expand Down