MCPcopy Create free account
hub / github.com/DeedMob/react-load-image / shouldUpdateReactComponent

Function shouldUpdateReactComponent

example/dist.js:5822–5836  ·  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. * * @param {

(prevElement, nextElement)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

dist.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected