Skip to content

Releases: ArnaudBarre/vite-plugin-react-click-to-component

v3.1.0

13 Jan 01:01
Compare
Choose a tag to compare
  • Experimental support for React 19. _debugSource was removed in React 19. The PR says that tools should lazily generate component stack strace, but I couldn't find a way to use the React devtools globals to generate one for a given Fiber node. I've aksed some React team members about insights on how to make this works, but for now I decided to patch the jsx dev runtime (when serving it) to reinject into Fiber node the source prop added by JSX transform.

v3.0.1

26 Nov 17:00
Compare
Choose a tag to compare
  • Add vite@6 to peer dependency ranges

v3.0.0

28 Nov 17:37
Compare
Choose a tag to compare
  • Add vite@5 to peer dependency ranges
  • Switch plugin to ESM. This removes the CJS warning when using the plugin with Vite 5. A CJS wrapper is still provided but migrating to running Vite in ESM is encouraged
  • Drop support for Vite 2 & 3 & node<18 (aligns with Vite 5)

v2.0.0

23 Feb 11:19
Compare
Choose a tag to compare

Context menu on option+right click to see all the intermediate components and jump to the right place! Direct click is removed for two reasons:

  • It doesn't play well with buttons and links
  • In large apps, you often end up on the generic component instead of going inside the usage of it

v1.0.3

09 Dec 19:09
Compare
Choose a tag to compare
  • Add Vite 4 to peer dependency range
  • Don't show outline for non-clickable targets
  • Use debug log when no React instance was found

v1.0.1

07 Nov 22:34
Compare
Choose a tag to compare

Fix tooltip position for elements on the right side of the screen

v1.0.0

24 Oct 09:02
Compare
Choose a tag to compare

Initial release