Had the same issue while developing react-virtuoso with tsdx. Came up with a very crude hack, described in this issue.
Ultimately, however, I switched to storybook - it lives inside the project directory and works with the same React instance.
Thank you! I can't believe I haven't tried storybook yet.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.