You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

vite-plugin-react-click-to-component

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-react-click-to-component - npm Package Versions

4.0.0

Diff
a
arnaud-barre
published 4.0.0 •

Changelog

Source

4.0.0

  • Align with Vite 7: ESM only, node 20.19+
a
arnaud-barre
published 3.1.1 •

Changelog

Source

3.1.1

  • Correctly display component using forwardRef
  • Fix menu position when the target is taller than viewport
  • Use dynamic z-index to always be on top of the targeted element (like MUI dialog) (fixes #9)
a
arnaud-barre
published 3.1.0 •

Changelog

Source

3.1.0

  • 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.
a
arnaud-barre
published 3.0.1 •

Changelog

Source

3.0.1

  • Add vite@6 to peer dependency ranges
a
arnaud-barre
published 3.0.0 •

Changelog

Source

3.0.0

  • 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)
a
arnaud-barre
published 2.0.0 •

Changelog

Source

2.0.0

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
a
arnaud-barre
published 1.0.3 •

Changelog

Source

1.0.3

  • Add Vite 4 to peer dependency range
  • Don't show outline for non-clickable targets
  • Use debug log when no React instance was found
a
arnaud-barre
published 1.0.2 •
a
arnaud-barre
published 1.0.1 •

Changelog

Source

1.0.1

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

a
arnaud-barre
published 1.0.0 •

Changelog

Source

1.0.0

Initial release