Files
6dbf9c32ec 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 <[email protected]>
2022-11-02 14:18:08 +01:00

12 lines
185 B
JavaScript

import Comp from './styled-jsx'
import StyledComp from './styled-components'
export default function Page() {
return (
<div>
<Comp />
<StyledComp />
</div>
)
}