Skip to content

Latest commit

 

History

History

react-demo

Folders and files

README.md

Traceway

Traceway React Demo

A throwaway Vite + React app that exercises every capture path of @tracewayapp/react: caught throws, render-time errors via <TracewayErrorBoundary>, manual captureMessage, and the useTraceway() hook.

Run it

From the monorepo root so the workspace @tracewayapp/* packages are built:

npm install
npm run build

Then in this directory:

cd packages/react/examples/react-demo
npm install
npm run dev

Open the URL Vite prints (default http://localhost:5173).

To point it at your own Traceway backend, edit the connection string in src/main.tsx. If you leave the placeholder DSN in, the buttons still fire so you can verify the UI — they just won't reach a real backend.

Links