The problem with popups when component is re-rendered
I have a problem when component is re-render because of the assignment of cords to url. By that, my popups flash on the map as many times as re-render occurs. Before using this component, everything was perfectly fine
Same here
In addition, another problem occurs when two markers have the same position. Then when the component is re-rendered, the pop-ups are closed. @akursat @prorokky
I had a vaguely related issue but I solved by using memo on my component that showed the pop up.
I had a vaguely related issue but I solved by using memo on my component that showed the pop up.
Can you pass here code snippet how it looks like in your case?
Sorry I cannot give my code sample but effectively on the return statement for the component that showed the pop up I wrapped the the result with memo.
Sorry I cannot give my code sample but effectively on the return statement for the component that showed the pop up I wrapped the the result with
memo.
Im trying to use, but i have the problem 'NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.' when im clicking on popups ...
Can you help?