Set up a React and TypeScript project from scratch

Loading

Reading Time: 2 minutesCreate a folder ts-graphql-country and change to directory Generate package.json Add “browserslist”: [ “last 2 Chrome versions” ] in package.json Install react, react-dom and @reach/router Install parcel bundler and prettier Add dev script in package.json to launch web site at http://localhost:1234 Create a blank index.html in src folder Create .prettierrc file to store prettier configurations … Read more