playwright/packages/recorder
Simon Knott 99724d0322
refactor(ui): some react refactorings (#31900)
Addresses https://github.com/microsoft/playwright/issues/31863. This PR
is chonky, but the individual commits should be easy to review. If
they're not, i'm happy to break them out into individual PRs.

There's two main things this does:

1. Remove some unused imports
2. Add a `clsx`-inspired helper function for classname templating

I wasn't able to replace `ReactDOM.render` with `ReactDOM.createRoot`.
This is the new recommended way starting with React 18, and the existing
one is going to be deprecated at some point. But it somehow breaks our
tests, i'll have to investigate that separately.
2024-07-31 12:12:06 +02:00
..
public chore: use SVG icons for web apps (#26564) 2023-08-21 18:33:02 +02:00
src refactor(ui): some react refactorings (#31900) 2024-07-31 12:12:06 +02:00
.gitignore fix(debug): do not pause on internal calls, update ct docs (#14018) 2022-05-07 19:56:25 -07:00
index.html chore: use SVG icons for web apps (#26564) 2023-08-21 18:33:02 +02:00
package.json chore: address deprecated Vite warnings (#31618) 2024-07-10 22:32:08 +02:00
tsconfig.json chore: move sever/isomorphic to utils/ to use it in client (#21445) 2023-03-06 18:49:14 -08:00
tsconfig.node.json chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00
vite.config.ts chore: remove old webpack folder structure (#26560) 2023-08-19 16:16:44 -07:00