This template provides you a project with Recoil setup. Recoil is a state management library for React developed and used by Facebook. This template comes in handy if you want to play with Recoil or start a new project with it.
npx create-react-app your-project-name --template recoil
Or
yarn create react-app your-project-name --template recoil
npx
command installs the most recent stable version of CRA from npm.
--template
parameter points to this template, note that cra-template-
prefix is omitted.
In the project root directory, you can run:
-
yarn start
- runs the app in the development mode. Open http://localhost:3000 to view it in the browser. -
yarn test
- launches the test runner in the interactive watch mode. -
yarn build
- builds the app for production to thebuild
folder. -
yarn eject
- exposes content ofreact-script
package
I created a step by step guide on how to create your own templates. Check it on
Create React App template with TypeScript, Redux, React Router, Enzyme and custom ESlint
I hope this template will be helpful for you 🙏