The react-play
is a React project to demonstrate the well-known React patterns like,
- Container Component Pattern (Tutorial)
- Higher-Order Component Pattern
- Render prop
- Custom Hooks
- Conditional Rendering
- Layout Component
- Controlled Components
... many more
I'll be creating articles ✍️ and/or videos 📹 on each of the above patterns using the code from this repository.
You can access the app from here: https://reactoplay.vercel.app/
Who doesn't want motivation and support?
You can support my work by giving the repository a ⭐ and/or sponsorong me using the Sponsor
button at the top 😍.
This project was bootstrapped with Create React App.
Use the yarn install
or npm install
command to install dependencies.
In the project directory, you can run:
Runs the app in the development mode.
Open https://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Create a new play using this command. Just answer a few questions to get started.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.