-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Description
I just tried embedding the devtools into TanStack Devtools and here are the issues I noticed:
- The embeddable mode requires a LOT of internal props for the core Devtools export
- The panel holds the styling for absolute positioning instead of the parent components which means it can't be embedded on the page and it's always absolute and wherever you place it with config
- The panel also doesn't expand to be 100% of the container when the position fixed is removed, but this would probably stem from the same issue as above.
- The events are not streamed to the panel properly via the hook (maybe i didn't do something properly)
Here is the minimum repro:
TanStack/devtools#128
All you have to do to get it up and running is:
- clone the repo
- pnpm install
- pnpm run dev
- open up another terminal and change the current dir to examples/react/start
- add open ai key into .env
- pnpm run dev in that repo and you'll see the mentioned issues from above
Metadata
Metadata
Assignees
Labels
No labels