支持 React Server Components (RSC) 的 SSR。但是服务器渲染怎么能支持组件呢,直接报错。(或者待完善,但是不应该有一个 TODO 么)
'use strict';
throw new Error(
'react-dom/server is not supported in React Server Components.',
);
支持 React Server Components (RSC) 的 SSR。但是服务器渲染怎么能支持组件呢,直接报错。(或者待完善,但是不应该有一个 TODO 么)
'use strict';
throw new Error(
'react-dom/server is not supported in React Server Components.',
);