Closed
Description
The GoogleMaps
wrapper component breaks the React lifecycle because it does not re-render the VirtualContainer until after it is done updating everything.
This means trying to get an updated value from a newly-changed Marker
, for example, is not possible in any parent component's componentDidUpdate
method, because the children of the VirtualContainer are not yet re-rendered.
This is a regression from the previous mixin/context methodology, and leads to very confusing and difficult to debug errors.
Perhaps one solution would be to re-render VirtualContainer on componentWillUpdate
instead.
Metadata
Metadata
Assignees
Labels
No labels