Last active
October 10, 2015 13:25
-
-
Save kof/c4c997bae462687b2d57 to your computer and use it in GitHub Desktop.
React component without extends.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {component} from 'react' | |
@component | |
export default class MyComponent { | |
componentDidMount() { | |
} | |
render() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment