rsnext/test/e2e/app-dir
Jiachi Liu 4d0783d9be
Flush styles effects (#39268)
Use flush effects to custom apply css-in-js solution to app. Re-introduce flush effects to app-render, and remove default support of styled-jsx in `app/`. So that users will choose their own css-in-js solution if they need any customization. styled-jsx won't appear in client bundle if you didn't use it.

For now we have to inject the initial styles before `</head>` to avoid hydration errors. Later on we can remove this once react can handle it.

- [x] inject styles before end of head element
- [x] add tests
2022-08-03 16:21:20 +00:00
..
app Handle assetPrefix in app (#39236) 2022-08-01 22:34:23 +00:00
app-rendering Implement new client-side router (#37551) 2022-07-06 21:16:47 +00:00
rsc-basic Flush styles effects (#39268) 2022-08-03 16:21:20 +00:00
index.test.ts Handle assetPrefix in app (#39236) 2022-08-01 22:34:23 +00:00
rendering.test.ts Rename query to searchParams for getServerSideProps in new Router (#38654) 2022-07-15 13:02:37 +02:00
rsc-basic.test.ts Flush styles effects (#39268) 2022-08-03 16:21:20 +00:00