Installation
Recommended: @react-trace/kit
Use the @react-trace/kit package when you want the standard inspector setup with all official plugins already wired for you.
Peer requirements: react >= 18 and react-dom >= 18.
Setup
1. Export the project root in your dev script:
2. Mount the Trace component next to your app:
root should be the absolute path to the project being inspected. Exporting VITE_ROOT=$(pwd) in your dev script is the standard approach for Vite projects.
Tip
That's it — start your dev server and click the floating toolbar to begin inspecting.
Alternative: @react-trace/core and specific plugins
Use @react-trace/core when you want to choose plugins yourself.