This project aims to bring productivity to developers, specifically those from b2 company, bringing a set of snippets for web and mobile development
Install extension
To install an extension you can run the Command Pallete using the command Ctrl + Shift + P or Cmd + Shift + P , type Install Extensions and press Enter, Once done, search for b2 snippets and you will find the extension B2 snippets.
Supported languages
TypeScript (.ts)
TypeScript React (.tsx)
Snippets
React snippets
Command
Content
usst
Create functional useState hook
uscb
Create functional useCallback hook
usef
Create functional useEffect hook
usmm
Create functional useMemo hook
crc
Create functional React component
React native snippets
Command
Content
rncrc
Create functional React native component
Styled component snippets
Command
Content
rstyled
Create functional styled component
rnstyled
Create functional React native styled component
B2bit snippets
Command
Content
b2context
Create React functional component with useContext
b2hook
Create custom hook with request
b2form
Create functional form
Release Notes
Update notes
1.0.0
created b2 snippets extension
1.0.1
changed React snippets commands and fix rncrc command to return element