playwright/packages
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
..
html-reporter refactor(ui): some react refactorings (#31900) 2024-07-31 12:12:06 +02:00
playwright fix(ui): added test in watched file should be run (#31842) 2024-07-30 14:17:41 +02:00
playwright-browser-chromium chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-browser-firefox chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-browser-webkit chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-chromium chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-core chore: various roll fixes for .NET (#31914) 2024-07-30 19:09:20 +02:00
playwright-ct-core fix(ui): added test in watched file should be run (#31842) 2024-07-30 14:17:41 +02:00
playwright-ct-react chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-react17 chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-solid chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-svelte chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-vue chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-vue2 chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-firefox chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-test chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-webkit chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
protocol/src chore: client certificates api review (#31826) 2024-07-23 22:56:36 +02:00
recorder refactor(ui): some react refactorings (#31900) 2024-07-31 12:12:06 +02:00
trace/src feat(trace viewer): show baseURL in Metadata pane (#31852) 2024-07-25 17:14:46 +02:00
trace-viewer refactor(ui): some react refactorings (#31900) 2024-07-31 12:12:06 +02:00
web refactor(ui): some react refactorings (#31900) 2024-07-31 12:12:06 +02:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00