Hi!!! I'm try to update version of react-mapbox-gl from v2 to v3 but i found a problem when props that store center location was changed but every change of this state map is blink everytime that not apply with movingMethod props.
I found this problem too.
Did you make sure you don't call the map factory in the render method of your react component: https://github.com/alex3165/react-mapbox-gl/blob/master/example/src/demos/londonCycle.tsx#L11
I will close this issue in favour of https://github.com/alex3165/react-mapbox-gl/issues/534 . @spybaby1 if you think this is not your problem, please open a new Github issue including your problem reproduced with the webpackbin template in the readme.
Thank @alex3165, My problem was solved.
Most helpful comment
Did you make sure you don't call the map factory in the
rendermethod of your react component: https://github.com/alex3165/react-mapbox-gl/blob/master/example/src/demos/londonCycle.tsx#L11