Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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".

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.