playwright/packages/web
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
..
playwright chore: fix html-reporter/trace-viewer TSC errors (#26813) 2023-08-31 18:08:38 +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 vite plugin for registry (#13658) 2022-04-21 17:30:17 -07:00
package.json chore: use codemirror in the on-hover locator editor (#28090) 2023-11-10 22:00:28 -08:00
playwright.config.ts devops: create blob reports for all "tests 1" (#26694) 2023-08-24 16:06:41 -07:00