React Snippets
A simple but powerful react typescript snippets extension
![Component snippet demonstration](https://raw.githubusercontent.com/vitorxfs/react-snippets/main/assets/rcomp.gif)
Features
rcomp : react typescript component
rcont : react typescript component with children prop
rmap : array map
ruef : useEffect
rustate : useState
rumemo : useMemo
runmount : useEffect with return function (unmount)
![Hook snippet demonstration](https://raw.githubusercontent.com/vitorxfs/react-snippets/main/assets/rustate_ruef.gif)
Usage
- Install the extension
- Open a
.tsx file and type one of the snippets abov
- You can use
tab to navigate between fields
| |