Handle dynamic css-in-js styles under suspense (#42293)
We insert the content returning from `useServerInsertedHTML` to head
element for app dir, but it shouldn't only inject once since there're
suspense boundaries that could hold insertions.
## Bug
- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
Co-authored-by:
JJ Kasper <jj@jjsweb.site>
Showing
| ... | @@ -196,7 +196,7 @@ | ... | @@ -196,7 +196,7 @@ |
| "selenium-webdriver": "4.0.0-beta.4", | "selenium-webdriver": "4.0.0-beta.4", | ||
| "semver": "7.3.7", | "semver": "7.3.7", | ||
| "shell-quote": "1.7.3", | "shell-quote": "1.7.3", | ||
| "styled-components": "5.3.3", | "styled-components": "6.0.0-beta.5", | ||
| "styled-jsx-plugin-postcss": "3.0.2", | "styled-jsx-plugin-postcss": "3.0.2", | ||
| "swr": "2.0.0-rc.0", | "swr": "2.0.0-rc.0", | ||
| "tailwindcss": "1.1.3", | "tailwindcss": "1.1.3", | ||
| ... | ... |
This diff is collapsed.
Please
register
or
sign in
to comment