T
tRPC
Change Theme
Search Answer Overflow
Login
Raymond
Posts
Comments
T
tRPC
•
Created by Mark L on 11/3/2024 in
#❓-help
following the trpc 11 guide on app router fails with dynamicIO on nextJS
6 replies
T
tRPC
•
Created by Mark L on 11/3/2024 in
#❓-help
following the trpc 11 guide on app router fails with dynamicIO on nextJS
Found solution, in your provider you need to return children until window is rendered.
if
(
typeof
window
===
'undefined'
) {
return
<>
{
children
}
</>
}
if
(
typeof
window
===
'undefined'
) {
return
<>
{
children
}
</>
}
6 replies