Martin Schuhfuss

Results 211 comments of Martin Schuhfuss

That's very helpful, thanks. I think I have an Idea what might be going wrong there...

I tried to somehow reproduce this issue, but even with 1000 advanced markers i can't see any problems. Even in the timeline recording I can only see that creating 1000...

yep, this is the code i was testing with. ```tsx const App = () => { return ( {Object.keys(Array.from({length: 1000})) .map(Number) .map(i => ( ))} ); }; ```

This is what it looks like in the profiler. The highlighted block is creation of the 1000 marker-elements and adding them to the map, nothing suspicious there... ![image](https://github.com/visgl/react-google-maps/assets/158792/d68366f1-f51f-4cc7-b019-d48fe0d8c541)

Ok, that's really weird. What kind of GPU do you have? Anything different when opening it in an incognito-tab? Or maybe chrome canary? Tried all the options I have and...

@luis-cicada in that case you're also missing the `key`-prop for the `AdvancedMarker` components, so react will recreate **all** markers with every change. Can you try just adding the key-prop and...

@sspread @fc-jeremy I've been thinking about this and how it could be that me and my colleagues are unable to reproduce this. Do you have a way to provide an...

@bostrom interesting observation, but I think this is a separate issue, I gotta have a look into the marker-clustering at some point..

Sorry, no updates from our side. There are so far no indications as to what could be the reason for this, and there hasn't been an example provided where we...

@jogoley since you also experienced this problem and we still haven't had any luck pinning it down, which react version are you using, and are you using the `createRoot`-API or...