A sandwich

Learn useEffect Over Lunch

Get confident with useEffect
in under an hour.

With 8 bite-sized screencasts + code snippets.

You add one little useEffect, and suddenly...

πŸ’₯ BOOM πŸ’₯

Infinite loop! ♾️

Stale data! πŸ˜’

Unexplainable bugs. πŸ›

And if someone asked you to explain what went wrong, honestly... you'd be hard pressed to say why it broke.

So you mostly cross your fingers and obey the warnings.

React Hook useEffect has a missing dependency: 'todos'. Either include it or remove the dependency array.
react-hooks/exhaustive-deps

It's just that every now and then the warning is wrong β€” and when you obey, you get an infinite loop.

Even when things are working, there's something that feels wrong about writing code you can't explain.

A sense of unease.

...never quite sure if the code will keep working, or if it's merely fine for now.

πŸ˜’

You surely could figure out useEffect on your own, given enough time with docs and blog posts. But there's just never enough time to really dive in. Features to ship. Deadlines to meet.

But what if you could learn it quick?

Learn useEffect this afternoon

I've put together a set of 8 short screencasts and code examples to help you understand useEffect and put it into practice.

I'll help you understand the bigger picture: not just how useEffect works and when it runs, but how to use it to solve common UI problems, with practical examples from real apps I've worked on.

These quick lessons will make useEffect seem easy. You'll wonder why you got stuck 😎

In under an hour, you'll be able to know exactly what your code will do before you run it.

And if you've been clinging to lifecycles and classes for dear life, understanding useEffect will help you join the world of hooks and modern React development.

Here's what you'll learn:

What People Are Saying

I love the pacing. I finished the second video and already learned something new.
Excellent videos and you do a great job at simply explaining the useEffect hook better than any other video/tutorial/article out there.
Peter Tardif's Photo
Full-Stack Developer
It sounds reeeeally good. Also you explain so well. The pacing, the examples.
Mahmoud Abdelwahab's Photo
egghead instructor
The little cheat sheet is REALLY great! It helped me solve a bug in my code that took hours to figure out.
Roslyn Cyrus's Photo
Senior Product Designer, Datadog
You should charge more for this.
I agree with Michael. Charge more.

What's included?

8 screencasts
58 minutes
Printable cheatsheet
What is a side effect, and why do we need useEffect? 2m
Preview
Fetching Data (and avoiding infinite loops 7m
Preview
Re-fetch data when a prop changes 8m
Create a custom hook for fetching data 7m
Refactor lifecycle methods to useEffect 11m
Websockets, extra dependencies, and the functional fix 10m
useEffect vs useLayoutEffect, and when to use each 3m
What to do when the warnings mislead you 10m

Get The Course

Learn useEffect Over Lunch

$29 $19 USD
  • 8 video lessons, 58 minutes
  • All example code, before & after each lesson
  • Bonus Printable useEffect cheatsheet
  • Bonus Recorded talk: A Guided Tour of React Hooks
Buy Now

Learn the rest of React, too

$88 $74 USD
  • The useEffect Over Lunch Course
  • All the Bonuses
β€” plus β€”
  • The Pure React book
  • Learn React without all the libraries
  • Hands-on, exercise-based
  • Over 2,700 copies sold
  • 242 pages
  • 17 examples and 42 exercises
  • Exercise solutions
Buy This

Who made this?

Dave's Photo

Hi! πŸ‘‹  I'm Dave Ceddia.

I've been working with and teaching React since 2015 at daveceddia.com, mainly through writing and courses like this one. In 2018 I quit my job to teach full-time.

I split my free time between a constantly-shifting array of hobbies like music, cooking, DIY projects, video games, and whatever happens to seem fun in the moment.