react-google-maps-api icon indicating copy to clipboard operation
react-google-maps-api copied to clipboard

Error when navigate from every page that integrating google to another one and vice versa Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

Open nthieu1332002 opened this issue 2 years ago • 1 comments

It is same as issue

image

nthieu1332002 avatar Oct 20 '23 05:10 nthieu1332002

@nthieu1332002 Sorry, but I've never tested on nextjs. This library works only in client components. you should render it conditionally, preferable on user action, or useLayoutEffect. There is a gatsby.js example in the repo.

JustFly1984 avatar Oct 20 '23 06:10 JustFly1984