MCPcopy Create free account
hub / github.com/QuarkGluonPlasma/react-course-code / isProperty

Function isProperty

mini-react/src/mini-react.js:113–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111
112 const isEvent = key => key.startsWith("on")
113 const isProperty = key => key !== "children" && !isEvent(key)
114 const isNew = (prev, next) => key => prev[key] !== next[key]
115 const isGone = (prev, next) => key => !(key in next)
116

Callers

nothing calls this directly

Calls 1

isEventFunction · 0.85

Tested by

no test coverage detected