Home - biswajitsundara/react GitHub Wiki
Welcome to React wiki!
Enable Emmet
- To enable react emmet in VS code. Go to File -> Preference -> Settings
- Search for
emmet
- Key = javascript
- Value = javascriptreact
- Then inside function the html emmet will work.
Simple React Snippets
- Go to extensions
- Search for
Simple React Snippets
- Then just type
sfc
and it will create a stateless function component.
React Developer Tools
- Go to chrome webstore
- Search for
React Developer Tools
and install - Now go to developer tools -> components tab
- We can see the different components and all the details.
Emmet Shortcuts
- Type
imr
and press TAB will import react - Type
cc
and press enter will create a class component - Type
sfc
will create a functional component.