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.
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.