React-map-gl: onViewportChange Warning

Created on 31 Oct 2018  路  5Comments  路  Source: visgl/react-map-gl

I'm testing an example of the library with the version "4.0.0-beta.3", but I have this warning to method onViewportChange:

Warning: Cannot update during an existing state transition (such as within render). Render methods should be a pure function of props and state.

screen shot 2018-10-31 at 10 41 18 am

Most helpful comment

This is still a bug @ "react-map-gl": "^5.1.3"

All 5 comments

4.0.0-beta.4

@Pessimistress This issue is still happening....

https://github.com/uber/react-map-gl/issues/872

Still happening in version 5.0.11

Yup Still a bug

This is still a bug @ "react-map-gl": "^5.1.3"

Was this page helpful?
0 / 5 - 0 ratings