Support adding plugins from different React/Framework instances #331
literalpie
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We use tanstack query, forms, and dev tools in a large app that uses multiple instances of React (similar to microfrontends or "module federation"). It would be awesome if there way a way to add plugins from each React instance to the same dev tools.
Maybe something like
window.tsd.addPlugin({name: 'TanStack Form', render: <FormDevtools />, defaultOpen: true})which could be called in a useEffect (and another function to unregister the plugin when unmounted)Beta Was this translation helpful? Give feedback.
All reactions