Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: ReactMap is accessing getDOMNode or findDOMNode inside its render(). #30

Open
joernroeder opened this issue Mar 29, 2015 · 0 comments

Comments

@joernroeder
Copy link

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.

ken210 added a commit to ken210/react-googlemaps that referenced this issue May 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant