// the find
coryhouse/react-switchboard
Quickly create custom DevTools for your React app
React Switchboard gives you a draggable dev panel inside your React app for switching users, toggling features, and configuring MSW mock responses at runtime. It's aimed at teams that spend time manually reproducing edge cases or resetting state between manual tests. The URL-sync and localStorage persistence are the genuinely useful parts — share a URL and a colleague lands in the exact same app state.
State stored in both URL params and localStorage means you can reproduce a specific scenario just by pasting a link, which is actually useful in bug reports. The headless hooks (useSwitchboard, useSwitchboardState) let you build your own UI rather than being stuck with the default panel. Lazy-loaded via React.lazy so it contributes zero bytes to the prod bundle when gated behind an env var. MSW integration for per-request mock configuration is a solid choice — MSW is the right tool for this and the library doesn't try to reinvent it.
258 stars and 6 forks after what appears to be a few years suggests this hasn't caught on beyond the author's conference talk circuit. Last push was August 2024 and there's no changelog or releases page, so it's unclear whether it's stable or just quiet. No tests visible in the repo — for a library that intercepts fetch requests and manipulates localStorage, that's a gap. The API surface is small enough that most teams would just wire up MSW and a handful of React context values themselves rather than taking on this dependency.