Steps to reproduce:
- git clone
vis-academy
cd src/demos/2-scatterplot-overlay
- run
yarn
- run
yarn start
- observe on
localhost:3030 that the scatterplot example is visible
- close web serve with cmd+C
- in
package.json, upgrade the following:
"deck.gl": "^6.1.0",
"luma.gl": "^6.0.1",
"react-vis": "^1.11.1"
these are latest versions
8. now run yarn and then yarn start
Expected
Demo should still work, and render scatterplot
Actual
Scatteprlot does not render.
Error from console:
draw-layers.js:257 Uncaught TypeError: Cannot assign to read only property 'viewport' of object '[object Object]'
at Function.assign (<anonymous>)
at drawLayerInViewport (draw-layers.js:257)
at draw-layers.js:229
at Array.forEach (<anonymous>)
at drawLayersInViewport (draw-layers.js:201)
at draw-layers.js:89
at Array.forEach (<anonymous>)
at drawLayers (draw-layers.js:83)
at draw-layers.js:132
at withParameters (context-state.js:182)