From 0d3233df6006e3510085aa2e650eb69f1af352a2 Mon Sep 17 00:00:00 2001 From: Soichiro Miki Date: Thu, 21 Apr 2022 03:10:53 +0900 Subject: [PATCH] Fix "Integrating with Other View Libraries" (#4585) --- content/docs/integrating-with-other-libraries.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/integrating-with-other-libraries.md b/content/docs/integrating-with-other-libraries.md index 83fa1768..5ce58a4d 100644 --- a/content/docs/integrating-with-other-libraries.md +++ b/content/docs/integrating-with-other-libraries.md @@ -192,7 +192,7 @@ class Chosen extends React.Component { React can be embedded into other applications thanks to the flexibility of [`createRoot()`](/docs/react-dom-client.html#createRoot). -Although React is commonly used at startup to load a single root React component into the DOM, `root.render()` can also be called multiple times for independent parts of the UI which can be as small as a button, or as large as an app. +Although React is commonly used at startup to load a single root React component into the DOM, `createRoot()` can also be called multiple times for independent parts of the UI which can be as small as a button, or as large as an app. In fact, this is exactly how React is used at Facebook. This lets us write applications in React piece by piece, and combine them with our existing server-generated templates and other client-side code.