@JsType(isNative=true,
namespace="<global>",
name="?")
public interface ReactRoot
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ReactRoot.PostRenderCallbackFn |
static interface |
ReactRoot.PostUnmountCallbackFn |
| Modifier and Type | Method and Description |
|---|---|
default void |
render(react4j.ReactNode children) |
void |
render(react4j.ReactNode children,
ReactRoot.PostRenderCallbackFn callback) |
default void |
unmount() |
void |
unmount(ReactRoot.PostUnmountCallbackFn callback) |
@JsOverlay
default void render(@Nonnull
react4j.ReactNode children)
void render(@Nonnull
react4j.ReactNode children,
@Nullable
ReactRoot.PostRenderCallbackFn callback)
@JsOverlay default void unmount()
void unmount(@Nullable
ReactRoot.PostUnmountCallbackFn callback)