0👍
✅
Turns out another function was manipulating deck.gl’s layer state. Updating the viewState at the same time fixed this.
this.deck.setProps({
layers: [...this.deckLayers],
viewState: this.deck.viewState
});
Source:stackexchange.com