MCPcopy Create free account
hub / github.com/tomchentw/react-google-maps / componentDidUpdate

Function componentDidUpdate

lib/utils/MapChildHelper.js:91–101  ·  view source on GitHub ↗
(
  component,
  instance,
  eventMap,
  updaterMap,
  prevProps
)

Source from the content-addressed store, hash-verified

89}
90
91function componentDidUpdate(
92 component,
93 instance,
94 eventMap,
95 updaterMap,
96 prevProps
97) {
98 component.unregisterAllEvents()
99 applyUpdaterToNextProps(updaterMap, prevProps, component.props, instance)
100 registerEvents(component, instance, eventMap)
101}
102
103function componentWillUnmount(component) {
104 component.unregisterAllEvents()

Callers

nothing calls this directly

Calls 2

applyUpdaterToNextPropsFunction · 0.70
registerEventsFunction · 0.70

Tested by

no test coverage detected