Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
OliverJAsh opened this issue Jan 16, 2025 · 0 comments
Open

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

OliverJAsh opened this issue Jan 16, 2025 · 0 comments

Comments

@OliverJAsh
Copy link
Contributor

OliverJAsh commented Jan 16, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant