This is a bootstrapped React application. If you are looking for a Javascript FP starting point for your frontend application, this project could be a good start.
Requires the latest version of :
- docker-ce
- docker-compose
Just clone this repository and install its dependencies:
$ git clone git@github.com:KnpLabs/knp-react-app.git myApp
$ cd myApp
$ make .env install-deps
Then, run it with
$ make start
and browse http://localhost:3000/.
This bootstrapper is based on top of React Create App. Please follow this complete guide before posting any issue on this repository. In fact it does nothing except cleaning up some code and propose a default architecture.
To run the tests :
$ make test
- Split JS bundle in chunks
- Polyfills : specify which polyfills you need on
polyfill.io
and add the given
script
tag in thehead
tag of thepublic/index.html
file to automatically import the polyfills required by the browser (determined by user agent).