spfx-fnc |
Creates a new React Stateless Function Component. |
spfx-fnc-state |
Creates a new React Function Component with useState hook. |
spfx-effect |
The useEffect Hook lets you perform side effects in function components. Similar like componentDidMount and componentDidUpdate. |
spfx-effect-once |
The useEffect Hook lets you perform side effects in function components. Only runs once, like componentDidMount. |
spfx-context |
Blueprint to create a useContext React hook that lets you read and subscribe to context from your component. |
spfx-hook |
Blueprint to create a custom React hook. |
spfx-hook-async |
Add code for adding an useAsync hook. |
spfx-hook-prev |
Add code for adding an usePrevious hook. |
spfx-rcc |
Creates a new React Component. |
spfx-rcc-state |
Creates a new React Component with state initialization. |
spfx-con |
Adds a React constructor method. |
spfx-ist |
Initializes the React state. |
spfx-sst |
Adds the setState block. |
spfx-ucst |
Adds the setState block to correctly update the state based on previous value. |
spfx-cwm |
Add componentWillMount method which is invoked before the component mounting happens. |
spfx-cdm |
Add componentDidMount method which is invoked after the component mounting and rendering happened. |
spfx-cwrp |
Add componentWillReceiveProps method which is invoked before a mounted component receives new prop. |
spfx-scu |
Add shouldComponentUpdate method which can be used to let your component know the output is not affected by the current change in state or props. |
spfx-cwu |
Adds componentWillUpdate method which is invoked just before rendering when new props or state are retrieved. |
spfx-cwu |
Adds componentDidUpdate method which is invoked just after rendering when new props or state are retrieved. |