Snippets to create the structure of the main React Hooks more quickly.
About
Some simple snippets to streamline when programming, thus creating structures that are widely used and simple, but that when created faster can help.
Available Snippets
Trigger |
Hook |
state -> |
Creates a useState hook structure |
effect -> |
Creates a useEffect hook structure |
callback -> |
Creates a useCallback hook structure |
memo -> |
Creates a useMemo hook structure |
sref -> |
Creates a useRef hook structure |
ctx -> |
Creates a useContext hook structure |
How to contribute
- Fork the project
- Create a branch for your Feature (
git checkout -b <feature_name> )
- Make changes to the new feature
- Push the Branch (
git push origin <feature_name> )
- Open a Pull Request
License
Distributed under the MIT license. See LICENSE for more information.
| |