Skip to content

Commit bcff909

Browse files
committed
Debug marker re-rendering problem
1 parent 579dad3 commit bcff909

File tree

4 files changed

+2819
-9927
lines changed

4 files changed

+2819
-9927
lines changed

dist/components/Marker.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
}, {
136136
key: 'componentDidUpdate',
137137
value: function componentDidUpdate(prevProps) {
138+
console.log(this.props, prevProps);
138139
if (this.props.map !== prevProps.map || this.props.position.lat() !== prevProps.lat() || this.props.position.lng() !== prevProps.lng() || this.props.icon !== prevProps.icon) {
139140
if (this.marker) {
140141
this.marker.setMap(null);

0 commit comments

Comments
 (0)