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
sfcand it will create a stateless function component.
React Developer Tools
- Go to chrome webstore
- Search for
React Developer Toolsand install - Now go to developer tools -> components tab
- We can see the different components and all the details.
Emmet Shortcuts
- Type
imrand press TAB will import react - Type
ccand press enter will create a class component - Type
sfcwill create a functional component.