More than 700 re renderings
premshetty opened this issue · comments
PREM KUMAR commented
FullScreen button creates more than 700 re-renders per click
here is the video
https://www.awesomescreenshot.com/video/12779474?key=39f6b743210d3e57e0d6f01c55413f01
when clicking on the fullscreen button it creates this much of renders
const fulscreenMapbtn = document.getElementsByClassName('gm-fullscreen-control')
fulscreenMapbtn[0]?.addEventListener("click", () => {
return console.log('clicked ')
});
Bhavya Goyal commented
assign this to me