Skip to content

Latest commit

 

History

History
97 lines (60 loc) · 3.78 KB

README.md

File metadata and controls

97 lines (60 loc) · 3.78 KB

Netlify Status


Textbook

Live demo

https://try-react.netlify.com

Quick Start

npm i
npm start

Stack

TODO (Async) typescript-fsa + redux-thunk (Sounds good & Recommend)
Counter redux-actions
GitHub members Plain Redux + redux-saga
TicTacToe typescript-fsa
TODO Plain Redux
Reddit Example (Redux Tutorial) JavaScript + redux-thunk (JS & TS are mixable!)

Inspired design patterns

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run lint

Run ESLint with autofix & Type check.

No autofix (Dry run) : npm run lint-dry

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run typesync

Install missing TypeScript typings for dependencies.

If you want to install together, you can use this

npm i ${PACKAGE_NAME} && npm run typesync && npm i

GENERATE_SOURCEMAP=true npm run analyze

Analyzing the bundle size.
Output to misc/source-map-explorer.html.

npm run eslint-print-config

Outputs the configuration to be used for the file passed.
See ESLint --print-config

Learn More

This project was bootstrapped with Create React App.

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.