State Management · Senior · Question 19 of 75
What does the devtools middleware give a Zustand store?
- ✓Correct answer: Integration with Redux DevTools: action log and time travel
- 2Automatic type generation for the store
- 3A visual editor for the store in the browser
Explanation
create(devtools((set) => ...)) and naming updates (set(fn, false, 'cart/add')) make the history readable. It's one reason teams pick Zustand: lightweight yet debuggable.