donycisne / react-hooks-demo

:tada: React Hooks Demo is inspired by Dan Abramov Demo in React Conf 2018. This demo shows you how to use hooks like useState and other React features without writing a class.

Home Page:https://hooks-demo.now.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Hooks Demo

At React Conf 2018, Sophie Alpert and Dan Abramov introduced Hooks, followed by Ryan Florence demonstrating how to refactor an application to use them.

You can watch the video here:

➑ React Today and Tomorrow and 90% Cleaner React With Hooks.

You can see Ryan Florence Demo here:

➑ 90% Cleaner React With Hooks.


πŸš€ Demo

https://react-hooks-demo.now.sh

React Hooks Demo is inspired by Dan Abramov Demo in React Conf 2018

react-hooks-demo


🌈 What are Hooks?

Hooks let you use state and other React features without writing a class. You can also build your own Hooks to share reusable stateful logic between components.

Read on the react blog for more about hooks.


⭐ Demo Usage

Clone this repository and enter on the repo directory by typing on the terminal:

git clone https://github.com/donycisne/react-hooks-demo.git

cd react-hooks-demo

Now you need to install all the dependencies by typing on the terminal:

yarn or npm install

Finally you can start the app by typing on the terminal:

yarn start or npm start

πŸ“š Learning

About

:tada: React Hooks Demo is inspired by Dan Abramov Demo in React Conf 2018. This demo shows you how to use hooks like useState and other React features without writing a class.

https://hooks-demo.now.sh/


Languages

Language:JavaScript 66.5%Language:CSS 24.5%Language:HTML 8.9%