Just a simple tip to save some time with react coding: If you are using VSC, you can install an extension called ES7 React/Redux/GraphQl/React-Native snippets. It provides many cool snippets to speed up react coding, so be sure to check the details provided by the creator, but for me the most important one is "rafce". It imports react, creates functional component with the same name as the file, and exports is at the same time, it is great!