MCPcopy Index your code
hub / github.com/caseywebdev/react-list / shouldSetTextContent

Function shouldSetTextContent

docs/index.js:16839–16850  ·  view source on GitHub ↗
(type, props)

Source from the content-addressed store, hash-verified

16837 : parentNamespace;
16838}
16839function shouldSetTextContent(type, props) {
16840 return (
16841 "textarea" === type ||
16842 "noscript" === type ||
16843 "string" === typeof props.children ||
16844 "number" === typeof props.children ||
16845 "bigint" === typeof props.children ||
16846 ("object" === typeof props.dangerouslySetInnerHTML &&
16847 null !== props.dangerouslySetInnerHTML &&
16848 null != props.dangerouslySetInnerHTML.__html)
16849 );
16850}
16851var currentPopstateTransitionEvent = null;
16852function shouldAttemptEagerTransition() {
16853 var event = window.event;

Callers 2

popHydrationStateFunction · 0.85
beginWorkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…