diff --git a/react.md b/react.md index 6665867b0..217d40b5d 100644 --- a/react.md +++ b/react.md @@ -4,7 +4,7 @@ category: React layout: 2017/sheet ads: true tags: [Featured] -updated: 2017-10-10 +updated: 2018-10-04 weight: -10 keywords: - React.Component @@ -48,20 +48,36 @@ ReactDOM.render(, el) Use the [React.js jsfiddle](http://jsfiddle.net/reactjs/69z2wepo/) to start hacking. (or the unofficial [jsbin](http://jsbin.com/yafixat/edit?js,output)) +### Import multiple exports +{: .-prime} + +```jsx +import React, {Component} from 'react' +import ReactDOM from 'react-dom' +``` +{: .-setup} + +```jsx +class Hello extends Component { + ... +} +``` + ### Properties ```html -