My best React + redux project starter.
optimization tricks
(stateless, hooks, pure render, PureComponent...).pure front-end
= server independant (use whatever you want as server: NodeJS, Rails, .NET...)SPA
but SEO
and/or PWA
friendly since use of dynamic imports
and application snapshot
.Concept behind: same as react-bootstrap-webpack-starter but added Redux
and amazing and helpful redux-devtools-extension.
Front:
react-refresh
(= hot reload replacement: RIP my friend) to be not fully stableTool chain:
ts
/ tsx
tests:
You can run development React SPA application with hot reload or run the production bundles served through NodeJS server.
NOTE: You don't need to worry about installing anything, just sit down keep cool and type any of these needed command.
# from root directory:
npm run front-dev
Application will be served at http://localhost:3001/ (just click me!)
# from root directory:
npm run front-test
# from root directory:
npm run front-bundle-analyze
Bundle analyzer will launch on its own in your default browser
# from root directory:
npm run start
Application will be served at http://localhost:8082/ (just click me!)
The MIT License (MIT)
Copyright (c) 2022 Erwan DATIN
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.