mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
The edge runtime should all use esm assets to keep the hooks and the react context are matched Fixes: #43080 The issue is caused by the app router context and server inserted html context are not aligned. One side is using esm and other side is using the cjs asset. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)
12 lines
187 B
JavaScript
12 lines
187 B
JavaScript
import Comp from '../styled-jsx'
|
|
import StyledComp from '../styled-components'
|
|
|
|
export default function Page() {
|
|
return (
|
|
<div>
|
|
<Comp />
|
|
<StyledComp />
|
|
</div>
|
|
)
|
|
}
|