The Frozen Dropdown

useEffect dependency array bug · beginner · MERN stack

The category filter dropdown loads correctly the first time you visit the products page

The bug report

You get the whole project — a React front end, an Express API, and Mongoose models — opened in a browser editor. Reproduce the symptom by reading the code, change what’s wrong, and run the hidden tests to prove it.

What the fix must prove

Related challenges

Log in to open this challengeCreate an account