Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions exercises/02.side-effects/01.problem.effects/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function App() {

// 🐨 add a useEffect(() => {}, []) call here (we'll talk about that empty array later)
// 🐨 in the useEffect callback, subscribe to window's popstate event
// 🦉 if that doesn't make sense to you... don't worry, it's supposed to be broken! We'll fix it next
// 🐨 your event handler should call setQuery to getQueryParam()
// 📜 https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener

Expand Down