T
TanStack3y ago
rare-sapphire

Sharing a cache across <iframe>s

Is this possible if I export a provider and import it into multiple "apps"? I see in https://tanstack.com/query/v4/docs/react/reference/QueryClientProvider that contextSharing is deprecated but wasn't sure if it's just something that just works automatically now or didn't work well before and won't work? Thanks in advance!
2 Replies
rare-sapphire
rare-sapphireOP3y ago
Yes believe so. I was getting lazy towrds the end of the day and should have just tried it and see. WIll likely do that now since I'm home sick instead of enjoying the weekend haha. Thank you!

Did you find this page helpful?