Apply react-server condition for pages api (#57459)
Apply react-server condition and related API checks for pages API. if you're doing react SSR with renderToString in middleware it should be disallowed. Imaging it could send the rendered html code to client and you display it in browser. But it might require hydration so it can be broken. Follow up for #57448 , same reason explained in #57448 Closes NEXT-1653
Showing
Please
register
or
sign in
to comment