Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mihailgaberov/react-hooks
This repo contains working examples and presentation slides discussed in "React hooks: a new way of working with React state".
https://github.com/mihailgaberov/react-hooks
development front-end javascript react-hooks reactjs
Last synced: 20 days ago
JSON representation
This repo contains working examples and presentation slides discussed in "React hooks: a new way of working with React state".
- Host: GitHub
- URL: https://github.com/mihailgaberov/react-hooks
- Owner: mihailgaberov
- Created: 2018-11-03T09:08:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-22T12:04:59.000Z (almost 6 years ago)
- Last Synced: 2024-11-17T05:29:59.135Z (3 months ago)
- Topics: development, front-end, javascript, react-hooks, reactjs
- Language: JavaScript
- Homepage: https://medium.com/@mihailgaberov/hooking-with-react-hooks-964df4b23960
- Size: 3.13 MB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Description
This repo contains working examples and presentation slides discussed in the article ["React hooks: a new way of working with React state"](https://medium.com/@mihailgaberov/hooking-with-react-hooks-964df4b23960).## Screenshot
![Screenshot](https://github.com/mihailgaberov/react-hooks/blob/master/screenshot.jpg)## Presentation
[Presentation slides here.](https://mihailgaberov.github.io/react-hooks/)## Running The App
To run the app, follow these steps.
1. Ensure that [NodeJS](http://nodejs.org/) is installed. This provides the platform on which the build tooling runs.
2. From the project folder, execute the following command:```shell
npm install
```
5. To run the app with the examples:```shell
npm run start
```6. Browse to [http://localhost:3000](http://localhost:3000) to see the app.
7. To run the presentation locally:
```shell
npm run start:presentation
```8. Browse to [http://127.0.0.1:8080](http://127.0.0.1:8080) to see the presentation slides.