rtl.react library Null safety React
Classes
- RenderResult Queries
-
The model returned from render, which includes all the
ScopedQueries
scoped to the container that the renderedElement was rendered within.
Functions
-
render(
ReactElement ui, {Node? container, Node? baseElement, bool hydrate = false, dynamic wrapper, bool autoTearDown = true, void onDidTearDown()?}) → RenderResult -
Renders the
ui
element into the DOM, returning a RenderResult API that can be used to do things like RenderResult.rerender with different props, or to call a query function scoped within thecontainer
that was rendered into.