Created
December 14, 2018 18:25
-
-
Save nmccready/a852c2302a35d4ee10faff4381831d21 to your computer and use it in GitHub Desktop.
Better COmments Example
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
// 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