R1ZEN / react-yandex-maps

Yandex.Maps API bindings for React (fork https://github.com/gribnoysup/react-yandex-maps)
https://pbe-react-yandex-maps.vercel.app
MIT License
120 stars 19 forks source link

docs: destroy map on unmount #37

Closed Semro closed 1 year ago

Semro commented 1 year ago

I think it would be nice to add map container cleanup. For example, without it, when using Vite in dev mode, map element will be added on every reload.

vercel[bot] commented 1 year ago

Deployment failed with the following error:

There is no GitHub account connected to this Vercel account.
vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to a Personal Account owned by @R1ZEN on Vercel.

@R1ZEN first needs to authorize it.

Semro commented 1 year ago

I'm a bit confused what happened. Should I reopen PR or you don't want this change in the documentation?