- Hello world page
- Display user's name
- Set user's name
- Validate user's name using
formik
- In-memory state retention using
RxJS
andReact's Higher-Order Components (HOC)
- Declarative routing using
react-router
. - Conform with
PWA
standard by usingmanifest.json
andservice worker
.
- The use of
TypeScript
language andTSLint
enable us to- write cleaner code,
- write more solid code,
- avoid using
FlowTypes
- Demonstrate the power of
RxJS
to avoid using over-complicating state management framrworks likeFlux
andRedux
.- This, in turns, also helps us write code that is easier to test
- React App
- Written language:
TypeScript
- Linter:
TSLint
- Test Framework:
Jest
- Package manager:
Yarn
Simply execute the following shell script
npm i -g yo generator-ae-react
yo ae-react <project-name>
This project was bootstrapped with Create React App.
The original execution line was
create-react-app react-ts-boilerplate --scripts-version=react-scripts-ts
See: https://github.com/Microsoft/TypeScript-React-Starter
ISC License
Copyright (c) 2017, Attawit Kittikrairit
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.