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

Method componentWillUnmount

src/macros/Rectangle.jsx:70–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68 }
69
70 componentWillUnmount() {
71 componentWillUnmount(this)
72 const rectangle = this.state[RECTANGLE]
73 if (rectangle) {
74 rectangle.setMap(null)
75 }
76 }
77
78 render() {
79 return false

Callers

nothing calls this directly

Calls 1

componentWillUnmountFunction · 0.90

Tested by

no test coverage detected