Leverage existing component checking warning for streaming (#34526)
## Bug Fixes: #31993 * Remove the simple component checking in middleware ssr * Leverage existing components checking for Component / App / Document, if any of these component is not valid react type or is undefined nextjs will error in dev mode with redbox. Like above. <img width="826" alt="image" src="https://user-images.githubusercontent.com/4800338/154668945-bcee24ee-17aa-4afd-acda-9f8b249891ac.png"> - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [x] Errors have helpful link attached, see `contributing.md`
Showing
Please
register
or
sign in
to comment