Skip to content

[Bug]: prerender* docs have broken link #7432

Open
@OliverJAsh

Description

Summary

* **optional** `onError`: A callback that fires whenever there is a server error, whether [recoverable](#recovering-from-errors-outside-the-shell) or [not.](#recovering-from-errors-inside-the-shell) By default, this only calls `console.error`. If you override it to [log crash reports,](#logging-crashes-on-the-server) make sure that you still call `console.error`. You can also use it to [adjust the status code](#setting-the-status-code) before the shell is emitted.

The link for "adjust the status code" is broken.

It looks like this was copied from renderToPipeableStream but we didn't also copy the associated docs for setting the status code.

Page

https://react.dev/reference/react-dom/static/prerenderToNodeStream

Details

No response

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions