- Clone the repository:
git clone https://github.com/subashcs/react-compiler-demo.git
- Navigate to the project directory:
cd react-compiler-demo
- Install the dependencies:
yarn install
- Start the development server:
yarn dev
After completing these steps, you can access the demo application by opening your web browser and navigating to http://localhost:5173.
- Run the project
- Observe the console logs as you increment the count
- Toggle removal of the "use memo" string in App.js to see react compiler in working