You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following warning after mounting the component. Do you have any plans in improving this?
Warning:
ReactMap is accessing getDOMNode or findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.
The text was updated successfully, but these errors were encountered:
ken210
added a commit
to ken210/react-googlemaps
that referenced
this issue
May 12, 2015
I'm getting the following warning after mounting the component. Do you have any plans in improving this?
Warning:
ReactMap is accessing getDOMNode or findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.
The text was updated successfully, but these errors were encountered: