How to use Plasmo's globalProvider?

For tanstack query, I need to have a global provider for all of the
getInlineAnchorList()
. I saw that this should be possible through this github pull but I haven't been able to get it to work.

Does anyone have a working example?
https://github.com/PlasmoHQ/plasmo/pull/557
GitHub
Details
This PR introduces a new getGlobalProvider function for React runtime. This function is aliased with Layout to align with some convention from other framework. Thus, user can either do as t...
Was this page helpful?