You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a turborepo monorepo "playground" that contains another existing NextJS app (from the template). Went ahead to add TSS and noticed these errors. Seems related to #2793
Error in renderToPipeableStream: ReferenceError: React is not defined
at RootComponent (/Users/am/Coding/git/router/apps/playground/src/routes/__root.tsx:38:3)
at react-stack-bottom-frame (/Users/am/Coding/git/router/node_modules/react-dom/cjs/react-dom-server.node.development.js:8723:18)
...
When importing React and console logging it in _root.tsx and uncommenting out the NotFound component in router.tsx
Error in renderToPipeableStream: ReferenceError: React is not defined
at defaultNotFoundComponent (/Users/am/Coding/git/router/apps/playground/src/router.tsx:21:61)
at react-stack-bottom-frame (/Users/am/Coding/git/router/node_modules/react-dom/cjs/react-dom-server.node.development.js:8723:18)
...
Which project does this relate to?
Start
Describe the bug
I have a turborepo monorepo "playground" that contains another existing NextJS app (from the template). Went ahead to add TSS and noticed these errors. Seems related to #2793
When importing React and console logging it in
_root.tsx
and uncommenting out the NotFound component inrouter.tsx
Your Example Website or App
https://github.com/austinm911/router/tree/renderToPipeableStream-bug
Steps to Reproduce the Bug or Issue
apps/playground
and run dev serverNotFound
as described aboveExpected behavior
No error
Screenshots or Videos
No response
Platform
Mac
Additional context
No response
The text was updated successfully, but these errors were encountered: