A straightforward, easy, scalable, and dynamic architecture for building production ready React applications.
React makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changes.
Declarative views make your code more predictable and easier to debug.
Build encapsulated components that manage their own state, then compose them to make complex UIs.
Since component logic is written in JavaScript instead of templates, you can easily pass rich data through your app and keep state out of the DOM.
We don’t make assumptions about the rest of your technology stack, so you can develop new features in React without rewriting existing code.
React can also render on the server using Node and power mobile apps using React Native.
This Boilerplate guide is based on experience.
Make sure that you have Node.js v8.15.1 and npm v5 or above installed. Clone this repo using git clone --depth=1 https://github.com/JolluSK/React-Production-Ready-Boilerplate <YOUR_PROJECT_NAME> Move to the appropriate directory: cd <YOUR_PROJECT_NAME>. Run npm run setup in order to install dependencies and clean the git repo. At this point you can run npm start to see the example app at http://localhost:3000.
Contributions are always welcome! If you have any ideas, suggestions, fixes, feel free to contribute. You can do that by going through the following steps:
- Clone this repo
- Create a branch:
git checkout -b your-code
- Make some changes
- Test your changes
- Push your branch and open a Pull Request