Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Better COmments Example
// BY BETTER COMMENTS https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments
// TODO Yay Common standard
// * TODO urgent or some other meaning (better comments says urgent but red seems better)
// !! TODO Urgent or Deprecated?
// @todo not identifiable as this is a standard for block comments
// !! @todo look to get color I must put !!
// ? should we do this
// NOTE - probabaly can add something for this
// FIXME
/**
* FIXME something
* NOTE something
*
* TODO Something
* * TODO
* !! TODO Something else
* ? do this?
*
* @param {} props
*
* @throws one color
* @type one color
* @todo one color
* !! @todo
* @typedef one color
* crap
*/
constructor(props) {
super(props);
// ensures that the debounce behavior is correct
this.onChange = debounce(this.props.onChange, props.debounce);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.