MCPcopy Index your code
hub / github.com/gre/gl-react / render

Function render

packages/tests/utils.js:62–72  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

60 let instance = null;
61
62 function render(element) {
63 flushSync(() => {
64 root.render(
65 React.cloneElement(element, {
66 ref: (r) => {
67 instance = r;
68 },
69 })
70 );
71 });
72 }
73
74 render(el);
75

Callers 1

createFunction · 0.70

Calls 1

renderMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…