# Function renderToStaticNodeStream

- renderToStaticNodeStream(element, options?): NodeJS.ReadableStream

- Similar to `renderToNodeStream`, except this doesn't create extra DOM attributes such as `data-reactid`, that React uses internally. The HTML output by this stream is exactly equal to what `ReactDOMServer.renderToStaticMarkup()` would return.

  #### Parameters

  - element: ReactNode
  - `Optional` options: ServerOptions

  #### Returns NodeJS.ReadableStream

  #### Deprecated

  - Defined in common/temp/node_modules/.pnpm/@types+react-dom@18.3.0/node_modules/@types/react-dom/server.d.ts:96