Server React DOM APIs

번역:이나령

The react-dom/server APIs let you render React components to HTML on the server. These APIs are only used on the server at the top level of your app to generate the initial HTML. A framework may call them for you. Most of your components don’t need to import or use them. react-dom/server API를 사용하면 서버에서 React 컴포넌트를 HTML로 렌더링할 수 있습니다. 이러한 API는 앱의 최상위 레벨에 있는 서버에서 초기 HTML을 생성하는 데에만 사용됩니다. 프레임워크가 대신 호출할 수도 있습니다. 대부분의 컴포넌트는 이를 가져오거나 사용할 필요가 없습니다.


Server APIs for Node.js StreamsNode.js 스트림용 서버 API

These methods are only available in the environments with Node.js Streams: 다음 메서드들은 Node.js 스트림이 있는 환경에서만 사용할 수 있습니다:


Server APIs for Web Streams웹 스트림용 서버 API

These methods are only available in the environments with Web Streams, which includes browsers, Deno, and some modern edge runtimes: 다음 메서드들은 브라우저, Deno 및 일부 최신 엣지 런타임을 포함하는 웹 스트림이 있는 환경에서만 사용할 수 있습니다:


Server APIs for non-streaming environments비스트리밍 환경용 서버 API

These methods can be used in the environments that don’t support streams: 다음 메서드들은 스트림을 지원하지 않는 환경에서 사용할 수 있습니다:

They have limited functionality compared to the streaming APIs. 이들은 스트리밍 API에 비해 기능이 제한적입니다.


Deprecated server APIs지원 중단된 서버 API들

Deprecated | 지원 중단

These APIs will be removed in a future major version of React. 다음 API들은 향후 React의 메인 버전에서 삭제될 예정입니다.