Practical guide to react hooks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
cupcakearmy 4ecd8eb27e readme 1 year ago
src tutorial 1 year ago
.gitignore tutorial 1 year ago
LICENSE tutorial 1 year ago
README.md readme 1 year ago
package.json tutorial 1 year ago
webpack.config.js tutorial 1 year ago

README.md

React Hooks Tutorial

Small practical introduction to react hooks.

Topics:

  • useState
  • useEffect
  • useRef
  • custom hooks
  • making api call

Getting Started 🚀

git clone https://github.com/CupCakeArmy/react-boilerplate.git
npm i
npm run dev

# Or
wget https://github.com/CupCakeArmy/react-boilerplate/archive/master.zip
unzip master

Build 🛠

# Dev
npm run build:dev

# Prod
npm run build:prod

Dev 👀

Compiles on files changed

npm run dev

# Go to
http://localhost:8080