Browse Source

Fix "Integrating with Other View Libraries" (#4585)

main
Soichiro Miki 3 years ago
committed by GitHub
parent
commit
0d3233df60
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/integrating-with-other-libraries.md

2
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.

Loading…
Cancel
Save