You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// member __.isValidElement(``object``: obj): bool = jsNative
1140
1140
1141
+
openReact
1141
1142
1142
1143
[<Erase>]
1143
-
moduleReactDom =
1144
-
openReact
1144
+
typeReactDom=
1145
+
/// Render a React element into the DOM in the supplied container.
1146
+
/// If the React element was previously rendered into container, this will perform an update on it and only mutate the DOM as necessary to reflect the latest React element.
1147
+
/// If the optional callback is provided, it will be executed after the component is rendered or updated.
/// Same as render(), but is used to hydrate a container whose HTML contents were rendered by ReactDOMServer. React will attempt to attach event listeners to the existing markup.
/// Remove a mounted React component from the DOM and clean up its event handlers and state. If no component was mounted in the container, calling this function does nothing. Returns true if a component was unmounted and false if there was no component to unmount.
/// Render a React element to its initial HTML. This should only be used on the server. React will return an HTML string. You can use this method to generate HTML on the server and send the markup down on the initial request for faster page loads and to allow search engines to crawl your pages for SEO purposes.
1153
1166
/// If you call ReactDOM.render() on a node that already has this server-rendered markup, React will preserve it and only attach event handlers, allowing you to have a very performant first-load experience.
0 commit comments