react.dev
react.dev copied to clipboard
The React documentation website
See https://github.com/facebook/react/issues/13754
Fixed issue with the first code snippet in section [calling-a-server-function-outside-of-form](https://react.dev/reference/rsc/use-server#calling-a-server-function-outside-of-form), which was missing the 'use client' directive
### Summary I think "EmptyNote" is a server component rather than server function. Is this a typo? https://github.com/reactjs/react.dev/blob/ab18d2f0f5151ab0c927a12eb0a64f8170762eff/src/content/reference/rsc/server-functions.md?plain=1#L57 ### Page https://react.dev/reference/rsc/server-functions ### Details _No response_
This issue was originally reported by @the-spyke via facebook/react/issues/10330 [There is almost none](https://facebook.github.io/react/docs/test-utils.html#renderintodocument) documentation about how to actually use `.renderIntoDocument()` method. I can't find find answers on those questions on...
# Overview This PR corrects the log sequence in the example under [Synchronizing with Effects - Putting It All Together](https://react.dev/learn/synchronizing-with-effects#putting-it-all-together). The current description states: > Now edit the input to...
This adds support for a new component: `TabTerminalBlock`, which is similar to the `TerminalBlock` component, except it has support for multiple tabs. The first place this is used is to...