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 6 months ago
src tutorial 6 months ago
.gitignore tutorial 6 months ago
LICENSE tutorial 6 months ago
README.md readme 6 months ago
package.json tutorial 6 months ago
webpack.config.js tutorial 6 months 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