MCPcopy Index your code
hub / github.com/react/react / createElement

Function createElement

fixtures/dom/public/renderer.js:31–38  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

29 }
30
31 function createElement(value) {
32 // React.createElement replaced function invocation in 0.12
33 if (needsCreateElement) {
34 return React.createElement(value);
35 } else {
36 return value();
37 }
38 }
39
40 function getQueryParam(key) {
41 var pattern = new RegExp(key + '=([^&]+)(&|$)');

Callers 4

prerenderFunction · 0.70
renderFunction · 0.70
AppFunction · 0.50
app.jsFile · 0.50

Calls 1

valueFunction · 0.50

Tested by

no test coverage detected