Hacker News new | ask | show | jobs
by SebastianKra 972 days ago
ReactQuery state is not global. It's set in a context, and it takes two lines to write a Storybook decorator that ensures a unique cache for each story.

It may still make sense to keep react-query out of your storybooks though.