Interface ReactRoot
@JsType(isNative=true,
namespace="<global>",
name="?")
public interface ReactRoot
A React root represents the top level DOM element that react binds to.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptiondefault voidrender(Renderable children) default voidrender(Renderable children, @Nullable ReactRoot.PostRenderCallbackFn callback) default voidunmount()voidunmount(@Nullable ReactRoot.PostUnmountCallbackFn callback)
-
Method Details
-
render
-
render
@JsOverlay default void render(Renderable children, @Nullable ReactRoot.PostRenderCallbackFn callback) -
unmount
@JsOverlay default void unmount() -
unmount
-