/react-compiler-demo

React compiler demo project configure with Vite

Primary LanguageJavaScript

Running the application

  1. Clone the repository: git clone https://github.com/subashcs/react-compiler-demo.git
  2. Navigate to the project directory: cd react-compiler-demo
  3. Install the dependencies: yarn install
  4. 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.

React Compiler Demo

  1. Run the project
  2. Observe the console logs as you increment the count
  3. Toggle removal of the "use memo" string in App.js to see react compiler in working