rsnext/packages/next/client/components
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
..
shared/dynamic Add shared dynamic api (#39163) 2022-07-29 11:03:05 +00:00
app-router.client.tsx Add comments in new router reducer (#39025) 2022-07-27 09:55:07 +00:00
hooks-client-context.ts Flush styles effects (#39268) 2022-08-03 16:21:20 +00:00
hooks-client.ts Flush styles effects (#39268) 2022-08-03 16:21:20 +00:00
hooks-server-context.ts Handle server context being refreshed (#38580) 2022-07-13 08:48:01 +00:00
hooks-server.ts Implement new client-side router (#37551) 2022-07-06 21:16:47 +00:00
hot-reloader.client.tsx Refactor router reducer (#38983) 2022-07-25 12:12:35 +02:00
layout-router.client.tsx Add comments in new router reducer (#39025) 2022-07-27 09:55:07 +00:00
match-segments.ts Flush styles effects (#39268) 2022-08-03 16:21:20 +00:00
reducer.ts Add additional comments for reducer/cachenode (#39065) 2022-07-27 12:43:43 +00:00