a project template with React, MobX, Emotion and TypeScript
a template project with React, MobX, Emotion and TypeScript + Unit testing.
Details:
Setup is based on Create-react-app ‘s TypeScript version (react-scripts-ts) but also has some additional features such as decorator syntax (made possible with react-app-rewired).
You should have Yarn (https://yarnpkg.com/en/) installed. Then runyarn
in project directory to install package dependencies.
yarn start
Starts your project and opens it automatically in browser.
yarn test
yarn build
Runs yarn test
and if it succeeds then builds the app for production to the build
folder.
The build is minified and the filenames include the hashes.
└── src
├── apis
├── components
│ ├── CustomButton
│ ├── Note
│ └── TopNavigation
├── stores
│ └── notes
└── views
├── App
├── NoteCount
└── Notes
The project contains simple application to demonstrate following features: