MCPcopy Index your code
hub / github.com/danizep/react-timeless / shouldUpdateReactComponent

Function shouldUpdateReactComponent

examples/bundle.js:10496–10510  ·  view source on GitHub ↗

* Given a `prevElement` and `nextElement`, determines if the existing * instance should be updated as opposed to being destroyed or replaced by a new * instance. Both arguments are elements. This ensures that this logic can * operate on stateless trees without any backing instance. * * @pa

(prevElement, nextElement)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

bundle.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected