Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 607 Bytes

File metadata and controls

25 lines (18 loc) · 607 Bytes

setup guild

  • npx create-react-app folder-name
  • cd folder-name
  • code .

delete files

  • App.test.js
  • reportWebVital.js
  • setupTest.js

remove code from ./src/index.js

import reportWebVitals from './reportWebVitals'; // If you want to start
measuring performance in your app, pass a function // to log results (for
example: reportWebVitals(console.log)) // or send to an analytics endpoint.
Learn more: https://bit.ly/CRA-vitals reportWebVitals();

ES7 snippets Key shortcut

  • Ctrl + Alt + R
  • Type _rafce Which creates a React Arrow function component with ES7 module system