This extension contains code snippets for OverReact.
In order to install an extension you need to launch the Command Pallete (Ctrl + Shift + P or Cmd + Shift + P) and type Extensions. There you have either the option to show the already installed snippets or install new ones.
- Dart (.dart)
Below is a list of all available snippets and the triggers of each one..
Trigger | Content |
---|---|
orStless |
stateless component skeleton |
orCStless |
commented stateless component skeleton |
orAbsStless |
abstract stateless component skeleton |
orCAbsStless |
commented abstract stateless component skeleton |
orStful |
stateful component skeleton |
orCStful |
commneted stateful component skeleton |
orAbsStful |
abstract stateful component skeleton |
orCAbsStful |
commented abstract stateful component skeleton |
orMixin |
prop mixin skeleton |
orWM |
componentWillMount method |
orDM |
componentDidMount method |
orWRP |
componentWillReceiveProps method |
orSUp |
shouldComponentUpdate method |
orWUp |
componentWillUpdate method |
orDUp |
componentDidUpdate method |
orWUn |
componentWillUnmount method |
orSS |
invoked setState with newState() |
orSST |
invoked setState with function |
orBanner |
comment banner |