Skip to content

Instantly share code, notes, and snippets.

@Jahans3
Last active June 29, 2017 08:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jahans3/3c4419900e511bc89731553d1279e4cf to your computer and use it in GitHub Desktop.
Save Jahans3/3c4419900e511bc89731553d1279e4cf to your computer and use it in GitHub Desktop.
export default class MyContainer extends Component {
classPropertyA = 'something'
classPropertyB = 123
state = {
stateItemA: undefined,
stateItemB: 'default string'
}
someMethod = () => {
// ...
}
anotherMethod = () => {
// ...
}
render () {
return (
<SomeComponent />
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment