diff --git a/beta/src/content/apis/react-dom/client/createRoot.md b/beta/src/content/apis/react-dom/client/createRoot.md index 8475d6d3..94ef5775 100644 --- a/beta/src/content/apis/react-dom/client/createRoot.md +++ b/beta/src/content/apis/react-dom/client/createRoot.md @@ -82,7 +82,7 @@ function Counter() { **If your app is fully built with React, you shouldn't need to create any more roots, or to call [`root.render`](#root-render) again.** -From this point on, React will manage the DOM of your entire app. To add more components, [nest them inside the `App` component.](/learn/importing-and-exporting-components) When you need to update the UI, each of your components can do this by [using state](/apis/react/useState). When you need to display extra content like a modal or a tooltip outside the DOM node, [render it with a portal.](/apis/react-dom/createPortal) +From this point on, React will manage the DOM of your entire app. To add more components, [nest them inside the `App` component.](/learn/importing-and-exporting-components) When you need to update the UI, each of your components can do this by [using state.](/apis/react/useState) When you need to display extra content like a modal or a tooltip outside the DOM node, [render it with a portal.](/apis/react-dom/createPortal) @@ -106,7 +106,7 @@ This can feel very slow! To solve this, you can generate the initial HTML from y ### Rendering a page partially built with React {/*rendering-a-page-partially-built-with-react*/} -If your page [isn't fully built with React](/learn/add-react-to-a-website), you can call `createRoot` multiple times to create a root for each top-level piece of UI managed by React. You can display different content in each root by calling [`root.render`](#root-render). +If your page [isn't fully built with React](/learn/add-react-to-a-website), you can call `createRoot` multiple times to create a root for each top-level piece of UI managed by React. You can display different content in each root by calling [`root.render`.](#root-render) Here, two different React components are rendered into two DOM nodes defined in the `index.html` file: @@ -185,7 +185,7 @@ root.render(); document.body.appendChild(domNode); // You can add it anywhere in the document ``` -To remove the React tree from the DOM node and clean up all the resources used by it, call [`root.unmount`](#root-unmount). +To remove the React tree from the DOM node and clean up all the resources used by it, call [`root.unmount`.](#root-unmount) ```js root.unmount(); @@ -197,7 +197,7 @@ This is mostly useful if your React components are inside an app written in a di ### Updating a root component {/*updating-a-root-component*/} -You can call `render` more than once on the same root. As long as the component tree structure matches up with what was previously rendered, React will [preserve the state](/learn/preserving-and-resetting-state). Notice how you can type in the input, which means that the updates from repeated `render` calls every second in this example are not destructive: +You can call `render` more than once on the same root. As long as the component tree structure matches up with what was previously rendered, React will [preserve the state.](/learn/preserving-and-resetting-state) Notice how you can type in the input, which means that the updates from repeated `render` calls every second in this example are not destructive: @@ -255,15 +255,15 @@ An app fully built with React will usually only have one `createRoot` call for i #### Parameters {/*parameters*/} -* `domNode`: A [DOM element](https://developer.mozilla.org/en-US/docs/Web/API/Element). React will create a root for this DOM element and allow you to call functions on the root, such as `render` to display rendered React content. +* `domNode`: A [DOM element.](https://developer.mozilla.org/en-US/docs/Web/API/Element) React will create a root for this DOM element and allow you to call functions on the root, such as `render` to display rendered React content. * **optional** `options`: A object contain options for this React root. * `onRecoverableError`: optional callback called when React automatically recovers from errors. - * `identifierPrefix`: optional prefix React uses for IDs generated by [`useId`](/apis/react/useId). Useful to avoid conflicts when using multiple roots on the same page. + * `identifierPrefix`: optional prefix React uses for IDs generated by [`useId`.](/apis/react/useId) Useful to avoid conflicts when using multiple roots on the same page. #### Returns {/*returns*/} -`createRoot` returns an object with two methods: [`render`](#root-render) and [`unmount`](#root-unmount). +`createRoot` returns an object with two methods: [`render`](#root-render) and [`unmount`.](#root-unmount) #### Caveats {/*caveats*/} * If your app is server-rendered, using `createRoot()` is not supported. Use [`hydrateRoot()`](/apis/react-dom/client/hydrateRoot) instead. diff --git a/beta/src/content/apis/react-dom/client/hydrateRoot.md b/beta/src/content/apis/react-dom/client/hydrateRoot.md index b9efcfa8..63aa4e25 100644 --- a/beta/src/content/apis/react-dom/client/hydrateRoot.md +++ b/beta/src/content/apis/react-dom/client/hydrateRoot.md @@ -4,7 +4,7 @@ title: hydrateRoot -`hydrateRoot` lets you display React components inside a browser DOM node whose HTML content was previously generated by [`react-dom/server`](/apis/react-dom/server). +`hydrateRoot` lets you display React components inside a browser DOM node whose HTML content was previously generated by [`react-dom/server`.](/apis/react-dom/server) ```js const root = hydrateRoot(domNode, reactNode, options?) @@ -77,7 +77,7 @@ function Counter() { -You shouldn't need to call `hydrateRoot` again or to call it in more places. From this point on, React will be managing the DOM of your application. If you want to update the UI, your components can do this by [using state](/apis/react/useState). +You shouldn't need to call `hydrateRoot` again or to call it in more places. From this point on, React will be managing the DOM of your application. If you want to update the UI, your components can do this by [using state.](/apis/react/useState) @@ -100,7 +100,7 @@ React can recover from some hydration errors, but **you must fix them like other After the root has finished hydrating, you can call [`root.render`](#root-render) to update the root React component. **Unlike with [`createRoot`](/apis/react-dom/client/createRoot), you don't usually need to do this because the initial content was already rendered as HTML.** -If you call `root.render` at some point after hydration, and the component tree structure matches up with what was previously rendered, React will [preserve the state](/learn/preserving-and-resetting-state). Notice how you can type in the input, which means that the updates from repeated `render` calls every second in this example are not destructive: +If you call `root.render` at some point after hydration, and the component tree structure matches up with what was previously rendered, React will [preserve the state.](/learn/preserving-and-resetting-state) Notice how you can type in the input, which means that the updates from repeated `render` calls every second in this example are not destructive: @@ -170,11 +170,11 @@ React will attach to the HTML that exists inside the `domNode`, and take over ma * **optional** `options`: A object contain options for this React root. * `onRecoverableError`: optional callback called when React automatically recovers from errors. - * `identifierPrefix`: optional prefix React uses for IDs generated by [`useId`](/apis/react/useId). Useful to avoid conflicts when using multiple roots on the same page. Must be the same prefix as used on the server. + * `identifierPrefix`: optional prefix React uses for IDs generated by [`useId`.](/apis/react/useId) Useful to avoid conflicts when using multiple roots on the same page. Must be the same prefix as used on the server. #### Returns {/*returns*/} -`hydrateRoot` returns an object with two methods: [`render`](#root-render) and [`unmount`](#root-unmount). +`hydrateRoot` returns an object with two methods: [`render`](#root-render) and [`unmount`.](#root-unmount) #### Caveats {/*caveats*/} * `hydrateRoot()` expects the rendered content to be identical with the server-rendered content. You should treat mismatches as bugs and fix them. diff --git a/beta/src/content/apis/react-dom/client/index.md b/beta/src/content/apis/react-dom/client/index.md index 14839890..4543f4cd 100644 --- a/beta/src/content/apis/react-dom/client/index.md +++ b/beta/src/content/apis/react-dom/client/index.md @@ -30,7 +30,7 @@ import * as ReactDOMClient from 'react-dom/client'; -You'll also need to install the same version of [React](/apis/react). +You'll also need to install the same version of [React.](/apis/react) ## Browser Support {/*browser-support*/} diff --git a/beta/src/content/apis/react-dom/createPortal.md b/beta/src/content/apis/react-dom/createPortal.md index 08d7908a..017fb2a1 100644 --- a/beta/src/content/apis/react-dom/createPortal.md +++ b/beta/src/content/apis/react-dom/createPortal.md @@ -4,7 +4,7 @@ title: createPortal -This section is incomplete, please see the old docs for [createPortal](https://reactjs.org/docs/react-dom.html#createportal). +This section is incomplete, please see the old docs for [createPortal.](https://reactjs.org/docs/react-dom.html#createportal) diff --git a/beta/src/content/apis/react-dom/findDOMNode.md b/beta/src/content/apis/react-dom/findDOMNode.md index a5debe50..c0ce4be5 100644 --- a/beta/src/content/apis/react-dom/findDOMNode.md +++ b/beta/src/content/apis/react-dom/findDOMNode.md @@ -4,7 +4,7 @@ title: findDOMNode -This section is incomplete, please see the old docs for [findDOMNode](https://reactjs.org/docs/react-dom.html#finddomnode). +This section is incomplete, please see the old docs for [findDOMNode.](https://reactjs.org/docs/react-dom.html#finddomnode) @@ -23,6 +23,6 @@ findDOMNode(component) -`findDOMNode` is an escape hatch used to access the underlying DOM node. In most cases, use of this escape hatch is discouraged because it pierces the component abstraction. [It has been deprecated in StrictMode](https://reactjs.org/docs/strict-mode.html#warning-about-deprecated-finddomnode-usage). +`findDOMNode` is an escape hatch used to access the underlying DOM node. In most cases, use of this escape hatch is discouraged because it pierces the component abstraction. [It has been deprecated in StrictMode.](https://reactjs.org/docs/strict-mode.html#warning-about-deprecated-finddomnode-usage) diff --git a/beta/src/content/apis/react-dom/flushSync.md b/beta/src/content/apis/react-dom/flushSync.md index a2703165..4dff67db 100644 --- a/beta/src/content/apis/react-dom/flushSync.md +++ b/beta/src/content/apis/react-dom/flushSync.md @@ -4,7 +4,7 @@ title: flushSync -This section is incomplete, please see the old docs for [flushSync](https://reactjs.org/docs/react-dom.html#flushsync). +This section is incomplete, please see the old docs for [flushSync.](https://reactjs.org/docs/react-dom.html#flushsync) diff --git a/beta/src/content/apis/react-dom/hydrate.md b/beta/src/content/apis/react-dom/hydrate.md index 84ee8dd3..a448614c 100644 --- a/beta/src/content/apis/react-dom/hydrate.md +++ b/beta/src/content/apis/react-dom/hydrate.md @@ -3,7 +3,7 @@ title: hydrate --- -In React 18, `hydrate` was replaced by [`hydrateRoot`](/apis/react-dom/client/hydrateRoot). Using `hydrate` in React 18 will warn that your app will behave as if it’s running React 17. Learn more [here](https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-client-rendering-apis). +In React 18, `hydrate` was replaced by [`hydrateRoot`.](/apis/react-dom/client/hydrateRoot) Using `hydrate` in React 18 will warn that your app will behave as if it’s running React 17. Learn more [here.](https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-client-rendering-apis) @@ -65,9 +65,9 @@ export default function App() { -Usually you shouldn't need to call `hydrate` again or to call it in more places. From this point on, React will be managing the DOM of your application. If you want to update the UI, your components can do this by [using state](/apis/react/useState). +Usually you shouldn't need to call `hydrate` again or to call it in more places. From this point on, React will be managing the DOM of your application. If you want to update the UI, your components can do this by [using state.](/apis/react/useState) -For more information on hydration, see the docs for [`hydrateRoot`](/apis/react-dom/client/hydrateRoot). +For more information on hydration, see the docs for [`hydrateRoot`.](/apis/react-dom/client/hydrateRoot) --- diff --git a/beta/src/content/apis/react-dom/index.md b/beta/src/content/apis/react-dom/index.md index 0d73bd9c..67da3d04 100644 --- a/beta/src/content/apis/react-dom/index.md +++ b/beta/src/content/apis/react-dom/index.md @@ -4,7 +4,7 @@ title: ReactDOM APIs -This section is incomplete, please see the old docs for [ReactDOM](https://reactjs.org/docs/react-dom.html). +This section is incomplete, please see the old docs for [ReactDOM.](https://reactjs.org/docs/react-dom.html) @@ -37,7 +37,7 @@ import * as ReactDOM from 'react-dom'; -You'll also need to install the same version of [React](/apis/react). +You'll also need to install the same version of [React.](/apis/react) ## Exports {/*exports*/} diff --git a/beta/src/content/apis/react-dom/render.md b/beta/src/content/apis/react-dom/render.md index d0699331..c4cdb2e9 100644 --- a/beta/src/content/apis/react-dom/render.md +++ b/beta/src/content/apis/react-dom/render.md @@ -4,7 +4,7 @@ title: render -In React 18, `render` was replaced by [`createRoot`](/apis/react-dom/client/createRoot). Using `render` in React 18 will warn that your app will behave as if it’s running React 17. Learn more [here](https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-client-rendering-apis). +In React 18, `render` was replaced by [`createRoot`.](/apis/react-dom/client/createRoot) Using `render` in React 18 will warn that your app will behave as if it’s running React 17. Learn more [here.](https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-client-rendering-apis) @@ -56,7 +56,7 @@ export default function App() { -Usually you shouldn't need to call `render` again or to call it in more places. From this point on, React will be managing the DOM of your application. If you want to update the UI, your components can do this by [using state](/apis/react/useState). +Usually you shouldn't need to call `render` again or to call it in more places. From this point on, React will be managing the DOM of your application. If you want to update the UI, your components can do this by [using state.](/apis/react/useState) --- @@ -132,13 +132,13 @@ nav ul li { display: inline-block; margin-right: 20px; } -You can destroy the rendered trees with [`unmountComponentAtNode()`](/apis/react-dom/unmountComponentAtNode). +You can destroy the rendered trees with [`unmountComponentAtNode()`.](/apis/react-dom/unmountComponentAtNode) --- ### Updating the rendered tree {/*updating-the-rendered-tree*/} -You can call `render` more than once on the same DOM node. As long as the component tree structure matches up with what was previously rendered, React will [preserve the state](/learn/preserving-and-resetting-state). Notice how you can type in the input, which means that the updates from repeated `render` calls every second in this example are not destructive: +You can call `render` more than once on the same DOM node. As long as the component tree structure matches up with what was previously rendered, React will [preserve the state.](/learn/preserving-and-resetting-state) Notice how you can type in the input, which means that the updates from repeated `render` calls every second in this example are not destructive: @@ -195,7 +195,7 @@ An app fully built with React will usually only have one `render` call with its * `reactNode`: A *React node* that you want to display. This will usually be a piece of JSX like ``, but you can also pass a React element constructed with [`createElement()`](/TODO), a string, a number, `null`, or `undefined`. -* `domNode`: A [DOM element](https://developer.mozilla.org/en-US/docs/Web/API/Element). React will display the `reactNode` you pass inside this DOM element. From this moment, React will manage the DOM inside the `domNode` and update it when your React tree changes. +* `domNode`: A [DOM element.](https://developer.mozilla.org/en-US/docs/Web/API/Element) React will display the `reactNode` you pass inside this DOM element. From this moment, React will manage the DOM inside the `domNode` and update it when your React tree changes. * **optional** `callback`: A function. If passed, React will call it after your component is placed into the DOM. @@ -206,7 +206,7 @@ An app fully built with React will usually only have one `render` call with its #### Caveats {/*caveats*/} -* In React 18, `render` was replaced by [`createRoot`](/apis/react-dom/client/createRoot). Please use for React 18 and beyond. +* In React 18, `render` was replaced by [`createRoot`.](/apis/react-dom/client/createRoot) Please use for React 18 and beyond. * The first time you call `render`, React will clear all the existing HTML content inside the `domNode` before rendering the React component into it. If your `domNode` contains HTML generated by React on the server or during the build, use [`hydrate()`](/TODO) instead, which attaches the event handlers to the existing HTML. diff --git a/beta/src/content/apis/react-dom/server/index.md b/beta/src/content/apis/react-dom/server/index.md index 6c15e0f7..040d80c1 100644 --- a/beta/src/content/apis/react-dom/server/index.md +++ b/beta/src/content/apis/react-dom/server/index.md @@ -4,7 +4,7 @@ title: ReactDOMServer APIs -This section is incomplete, please see the old docs for [ReactDOM](https://reactjs.org/docs/react-dom.html). +This section is incomplete, please see the old docs for [ReactDOM.](https://reactjs.org/docs/react-dom.html) @@ -37,7 +37,7 @@ import * as ReactDOMServer from 'react-dom/server'; -You'll also need to install the same version of [React](/apis/react). +You'll also need to install the same version of [React.](/apis/react) ## Exports {/*exports*/} diff --git a/beta/src/content/apis/react-dom/server/renderToNodeStream.md b/beta/src/content/apis/react-dom/server/renderToNodeStream.md index f62dde07..d3ecb7b5 100644 --- a/beta/src/content/apis/react-dom/server/renderToNodeStream.md +++ b/beta/src/content/apis/react-dom/server/renderToNodeStream.md @@ -4,7 +4,7 @@ title: renderToNodeStream -This section is incomplete, please see the old docs for [renderToNodeStream](https://reactjs.org/docs/react-dom-server.html#rendertonodestream). +This section is incomplete, please see the old docs for [renderToNodeStream.](https://reactjs.org/docs/react-dom-server.html#rendertonodestream) diff --git a/beta/src/content/apis/react-dom/server/renderToPipeableStream.md b/beta/src/content/apis/react-dom/server/renderToPipeableStream.md index 1890e27f..0382c01d 100644 --- a/beta/src/content/apis/react-dom/server/renderToPipeableStream.md +++ b/beta/src/content/apis/react-dom/server/renderToPipeableStream.md @@ -4,7 +4,7 @@ title: renderToPipeableStream -This section is incomplete, please see the old docs for [renderToPipeableStream](https://reactjs.org/docs/react-dom-server.html#rendertopipeablestream). +This section is incomplete, please see the old docs for [renderToPipeableStream.](https://reactjs.org/docs/react-dom-server.html#rendertopipeablestream) diff --git a/beta/src/content/apis/react-dom/server/renderToReadableStream.md b/beta/src/content/apis/react-dom/server/renderToReadableStream.md index e4dda5f2..9bbb572e 100644 --- a/beta/src/content/apis/react-dom/server/renderToReadableStream.md +++ b/beta/src/content/apis/react-dom/server/renderToReadableStream.md @@ -4,14 +4,14 @@ title: renderToReadableStream -This section is incomplete, please see the old docs for [renderToReadableStream](https://reactjs.org/docs/react-dom-server.html#rendertoreadablestream). +This section is incomplete, please see the old docs for [renderToReadableStream.](https://reactjs.org/docs/react-dom-server.html#rendertoreadablestream) -Streams a React element to its initial HTML. Returns a Promise that resolves to a [Readable Stream](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream). Fully supports Suspense and streaming of HTML. [Read more](https://github.com/reactwg/react-18/discussions/127) +Streams a React element to its initial HTML. Returns a Promise that resolves to a [Readable Stream.](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream) Fully supports Suspense and streaming of HTML. [Read more](https://github.com/reactwg/react-18/discussions/127) ```js diff --git a/beta/src/content/apis/react-dom/server/renderToStaticMarkup.md b/beta/src/content/apis/react-dom/server/renderToStaticMarkup.md index 0b6f38f8..3c22b287 100644 --- a/beta/src/content/apis/react-dom/server/renderToStaticMarkup.md +++ b/beta/src/content/apis/react-dom/server/renderToStaticMarkup.md @@ -4,7 +4,7 @@ title: renderToStaticMarkup -This section is incomplete, please see the old docs for [renderToStaticMarkup](https://reactjs.org/docs/react-dom-server.html#rendertostaticmarkup). +This section is incomplete, please see the old docs for [renderToStaticMarkup.](https://reactjs.org/docs/react-dom-server.html#rendertostaticmarkup) diff --git a/beta/src/content/apis/react-dom/server/renderToStaticNodeStream.md b/beta/src/content/apis/react-dom/server/renderToStaticNodeStream.md index c55bc822..1cd021ff 100644 --- a/beta/src/content/apis/react-dom/server/renderToStaticNodeStream.md +++ b/beta/src/content/apis/react-dom/server/renderToStaticNodeStream.md @@ -4,7 +4,7 @@ title: renderToStaticNodeStream -This section is incomplete, please see the old docs for [renderToStaticNodeStream](https://reactjs.org/docs/react-dom-server.html#rendertostaticnodestream). +This section is incomplete, please see the old docs for [renderToStaticNodeStream.](https://reactjs.org/docs/react-dom-server.html#rendertostaticnodestream) diff --git a/beta/src/content/apis/react-dom/server/renderToString.md b/beta/src/content/apis/react-dom/server/renderToString.md index 66e1c010..92f05890 100644 --- a/beta/src/content/apis/react-dom/server/renderToString.md +++ b/beta/src/content/apis/react-dom/server/renderToString.md @@ -4,7 +4,7 @@ title: renderToString -This section is incomplete, please see the old docs for [renderToString](https://reactjs.org/docs/react-dom-server.html#rendertostring). +This section is incomplete, please see the old docs for [renderToString.](https://reactjs.org/docs/react-dom-server.html#rendertostring) diff --git a/beta/src/content/apis/react-dom/unmountComponentAtNode.md b/beta/src/content/apis/react-dom/unmountComponentAtNode.md index 2aaa5b25..8e380650 100644 --- a/beta/src/content/apis/react-dom/unmountComponentAtNode.md +++ b/beta/src/content/apis/react-dom/unmountComponentAtNode.md @@ -4,7 +4,7 @@ title: unmountComponentAtNode -This section is incomplete, please see the old docs for [unmountComponentAtNode](https://reactjs.org/docs/react-dom.html#unmountcomponentatnode). +This section is incomplete, please see the old docs for [unmountComponentAtNode.](https://reactjs.org/docs/react-dom.html#unmountcomponentatnode) diff --git a/beta/src/content/apis/react/Children.md b/beta/src/content/apis/react/Children.md index 5a4ba136..ce3019d6 100644 --- a/beta/src/content/apis/react/Children.md +++ b/beta/src/content/apis/react/Children.md @@ -4,7 +4,7 @@ title: React.Children -This section is incomplete, please see the old docs for [React.Children](https://reactjs.org/docs/react-api.html#reactchildren). +This section is incomplete, please see the old docs for [React.Children.](https://reactjs.org/docs/react-api.html#reactchildren) diff --git a/beta/src/content/apis/react/Component.md b/beta/src/content/apis/react/Component.md index b07612c4..8dff556b 100644 --- a/beta/src/content/apis/react/Component.md +++ b/beta/src/content/apis/react/Component.md @@ -4,7 +4,7 @@ title: React.Component -This section is incomplete, please see the old docs for [React.Component](https://reactjs.org/docs/react-component.html). +This section is incomplete, please see the old docs for [React.Component.](https://reactjs.org/docs/react-component.html) diff --git a/beta/src/content/apis/react/Fragment.md b/beta/src/content/apis/react/Fragment.md index 4c13a8f8..b85fbaee 100644 --- a/beta/src/content/apis/react/Fragment.md +++ b/beta/src/content/apis/react/Fragment.md @@ -104,4 +104,4 @@ Wrap elements in `` to group them together in situations where y #### Props {/*reference-props*/} -- **optional** `key`: Fragments declared with the explicit `` syntax may have [keys](https://beta.reactjs.org/learn/rendering-lists#keeping-list-items-in-order-with-key). +- **optional** `key`: Fragments declared with the explicit `` syntax may have [keys.](https://beta.reactjs.org/learn/rendering-lists#keeping-list-items-in-order-with-key) diff --git a/beta/src/content/apis/react/PureComponent.md b/beta/src/content/apis/react/PureComponent.md index 3ddd57f5..e1893cbe 100644 --- a/beta/src/content/apis/react/PureComponent.md +++ b/beta/src/content/apis/react/PureComponent.md @@ -4,7 +4,7 @@ title: React.PureComponent -This section is incomplete, please see the old docs for [React.PureComponent](https://reactjs.org/docs/react-api.html#reactpurecomponent). +This section is incomplete, please see the old docs for [React.PureComponent.](https://reactjs.org/docs/react-api.html#reactpurecomponent) diff --git a/beta/src/content/apis/react/StrictMode.md b/beta/src/content/apis/react/StrictMode.md index 4ce2ba75..e5805087 100644 --- a/beta/src/content/apis/react/StrictMode.md +++ b/beta/src/content/apis/react/StrictMode.md @@ -4,7 +4,7 @@ title: StrictMode -This section is incomplete, please see the old docs for [StrictMode](https://reactjs.org/docs/strict-mode.html). +This section is incomplete, please see the old docs for [StrictMode.](https://reactjs.org/docs/strict-mode.html) diff --git a/beta/src/content/apis/react/Suspense.md b/beta/src/content/apis/react/Suspense.md index 6cc6ce94..7f8fd44c 100644 --- a/beta/src/content/apis/react/Suspense.md +++ b/beta/src/content/apis/react/Suspense.md @@ -4,7 +4,7 @@ title: Suspense -This section is incomplete, please see the old docs for [Suspense](https://reactjs.org/docs/react-api.html#reactsuspense). +This section is incomplete, please see the old docs for [Suspense.](https://reactjs.org/docs/react-api.html#reactsuspense) diff --git a/beta/src/content/apis/react/cloneElement.md b/beta/src/content/apis/react/cloneElement.md index ffb6b14b..fa9d341f 100644 --- a/beta/src/content/apis/react/cloneElement.md +++ b/beta/src/content/apis/react/cloneElement.md @@ -4,7 +4,7 @@ title: cloneElement -This section is incomplete, please see the old docs for [cloneElement](https://reactjs.org/docs/react-api.html#cloneelement). +This section is incomplete, please see the old docs for [cloneElement.](https://reactjs.org/docs/react-api.html#cloneelement) diff --git a/beta/src/content/apis/react/createContext.md b/beta/src/content/apis/react/createContext.md index ad7f81a9..d7dc5f75 100644 --- a/beta/src/content/apis/react/createContext.md +++ b/beta/src/content/apis/react/createContext.md @@ -211,5 +211,5 @@ const ThemeContext = createContext('light'); This value never changes. React only uses this value as a fallback if it can't find a matching provider above. -To make context change over time, [add state and wrap components in a context provider](/apis/react/useContext#updating-data-passed-via-context). +To make context change over time, [add state and wrap components in a context provider.](/apis/react/useContext#updating-data-passed-via-context) diff --git a/beta/src/content/apis/react/createElement.md b/beta/src/content/apis/react/createElement.md index 32080f63..1d967118 100644 --- a/beta/src/content/apis/react/createElement.md +++ b/beta/src/content/apis/react/createElement.md @@ -4,7 +4,7 @@ title: createElement -This section is incomplete, please see the old docs for [createElement](https://reactjs.org/docs/react-api.html#createelement). +This section is incomplete, please see the old docs for [createElement.](https://reactjs.org/docs/react-api.html#createelement) diff --git a/beta/src/content/apis/react/createFactory.md b/beta/src/content/apis/react/createFactory.md index aa3233a6..834d6b3b 100644 --- a/beta/src/content/apis/react/createFactory.md +++ b/beta/src/content/apis/react/createFactory.md @@ -4,7 +4,7 @@ title: createFactory -This section is incomplete, please see the old docs for [createFactory](https://reactjs.org/docs/react-api.html#createfactory). +This section is incomplete, please see the old docs for [createFactory.](https://reactjs.org/docs/react-api.html#createfactory) diff --git a/beta/src/content/apis/react/createRef.md b/beta/src/content/apis/react/createRef.md index 0d899688..370e8bc8 100644 --- a/beta/src/content/apis/react/createRef.md +++ b/beta/src/content/apis/react/createRef.md @@ -4,7 +4,7 @@ title: createRef -This section is incomplete, please see the old docs for [createRef](https://reactjs.org/docs/react-api.html#reactcreateref). +This section is incomplete, please see the old docs for [createRef.](https://reactjs.org/docs/react-api.html#reactcreateref) diff --git a/beta/src/content/apis/react/forwardRef.md b/beta/src/content/apis/react/forwardRef.md index 0d8f5dae..3fe695d3 100644 --- a/beta/src/content/apis/react/forwardRef.md +++ b/beta/src/content/apis/react/forwardRef.md @@ -4,7 +4,7 @@ title: forwardRef -This section is incomplete, please see the old docs for [forwardRef](https://reactjs.org/docs/react-api.html#reactforwardref). +This section is incomplete, please see the old docs for [forwardRef.](https://reactjs.org/docs/react-api.html#reactforwardref) diff --git a/beta/src/content/apis/react/index.md b/beta/src/content/apis/react/index.md index ba6b2be2..4fe259c5 100644 --- a/beta/src/content/apis/react/index.md +++ b/beta/src/content/apis/react/index.md @@ -4,19 +4,19 @@ title: React APIs -This section is incomplete, please see the old docs for [React](https://reactjs.org/docs/react-api.html). +This section is incomplete, please see the old docs for [React.](https://reactjs.org/docs/react-api.html) -The React package contains all the APIs necessary to define and use [components](/learn/your-first-component). +The React package contains all the APIs necessary to define and use [components.](/learn/your-first-component) ## Installation {/*installation*/} -It is available as [`react`](https://www.npmjs.com/package/react) on npm. You can also [add React to the page as a `