Project presenting a basic configuration of a React project, which is also making use of Babel and Webpack.
Topics Covered | Installation | How to contribute | License
This project aims to teach the basic configuration of a React
project. Below are topics
covered:
- Babel and Webpack configuration
- Creating root component
- Importing CSS
- Importing images
- Created a class component
- State and Imutability implemented
- Removal of state items implemented
- Implementing the propeties
- Default Props & PropTypes
- ComponentDidMount and ComponentDidUpdate life cycles
- Clone project:
git clone https://github.com/Leonardofreua/react-basic.git
- Run:
yarn install
- Then:
yarn dev
- Fork this repository;
- Create a branch with your feature:
git checkout -b my-feature
; - Commit your changes:
git commit -m 'feat: My new feature'
; - Push to your branch:
git push origin my-feature
.
Once your pull request merge is done, you can delete your branch.
This project is under the MIT license. See LICENSE file for more details.