MCPcopy
hub / github.com/facebook/react / render

Function render

packages/react-devtools-shared/src/__tests__/utils.js:152–161  ·  packages/react-devtools-shared/src/__tests__/utils.js::render
(elements)

Source from the content-addressed store, hash-verified

150 });
151
152 function render(elements) {
153 withErrorsOrWarningsIgnored(
154 [class="st">'ReactDOM.render has not been supported since React 18'],
155 () => {
156 ReactDOM.render(elements, container);
157 },
158 );
159
160 return unmount;
161 }
162
163 function unmount() {
164 ReactDOM.unmountComponentAtNode(container);

Callers 15

ComponentFunction · 0.70
LeafFunction · 0.70
store-test.jsFile · 0.70
ChildFunction · 0.70
GrandparentFunction · 0.70

Calls 2

renderMethod · 0.65

Tested by

no test coverage detected