/ah-custom-hooks-workshop

Project files for my Custom Hooks Workshop

Primary LanguageJavaScript

Exploring React Custom Hooks

by Paul Negoescu

This repo serves as the living demo for the workshop held at PeakIT 003.

You've finished the workshop already?

git switch workshop-end

Stay in touch and stay curious!


If none of this made sense, continue reading:

Installation

Prerequisites

  1. Git
  2. NodeJS 14 (12 also works)
  3. Profit ...

I wanna work just locally:

git clone https://github.com/PaulNegoescu/ah-custom-hooks-workshop.git

cd ah-custom-hooks-workshop

npm install

I wanna keep my work for furture reference:

First fork this repo using the fork link on github.

Clone your fork and then:

npm install

But I already have a create-react-app installed because Paul told me so!

No worries! Navigate to it and:

git remote add origin https://github.com/PaulNegoescu/ah-custom-hooks-workshop.git

git pull

npm install

Working on it

Have ports 3000 and 3001 open!

npm start

This should also open your browser to the right page.