Skip to content

techreturners/lm-lab-react-hooks

Repository files navigation

React Hooks 🪝

In this repository you will find some starter code.

This exercise is about understanding the purpose of some common React hooks.

Instructions

👉 Starting with whichever hook was assigned to your group first, work through each hook in the hooks folder

Make sure to follow the instructions in each README carefully.

Important Notes

  • We recommend leaving use_x until the end when you've completed the other hooks. This is because once you are familiar with how hooks work, creating a custom hook will be much easier.

  • useReducer is an extension. Only attempt this when every other activity has been completed. This is because the other hooks including custom ones are more common, so treat useReducer as a "nice to do if I have time", bonus kind of exercise. 🙂

If you complete the exercises there are extensions in extension_exercises

Getting Started

👉 Fork and clone this repository

👉 npm install

👉 npm run dev

About

React Hooks: in-session group activity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published