This repo contains working examples and presentation slides discussed in the article "React hooks: a new way of working with React state".
Running The App
To run the app, follow these steps.
- Ensure that NodeJS is installed. This provides the platform on which the build tooling runs.
- From the project folder, execute the following command:
- To run the app with the examples:
npm run start
Browse to http://localhost:3000 to see the app.
To run the presentation locally:
npm run start:presentation
- Browse to http://127.0.0.1:8080 to see the presentation slides.