T
TanStack•3y ago
stormy-gold

Next.js using RQ hooks in pages dir with app dir root layout

Hi, we are trying to gradually migrate to the app directory but having a query client provider in the root layout breaks all RQ hooks in the pages dir. Repro: https://codesandbox.io/p/sandbox/zen-cherry-4mknmy?file=%2Fpages%2Fpages.tsx%3A4%2C1 Anyone know if this can be fixed, or where I can find more info on this issue?
zen-cherry-4mknmy
CodeSandbox is an online editor tailored for web applications.
1 Reply
stormy-gold
stormy-goldOP•3y ago
@TkDodo 🔮 Sorry to tag, wondering if this is a known issue?

Did you find this page helpful?