-
Hi everyone! In a Next.JS 12 app, I’d like to use the global cache-level callbacks when setting up the Thank you for your time and attention. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
you just need to nest providers. put the |
Beta Was this translation helpful? Give feedback.
well yes, it technically works, except that you could run into stale closure issues if your
_onError
function inmeta
closes over something from the component. I'm not a fan of this approach because of that