• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

visgl / deck.gl / 45079844648
83%
master: 83%

Build:
Build:
LAST BUILD BRANCH: chr/docs-react-walkthrough
DEFAULT BRANCH: master
Ran 22 Nov 2026 10:57PM UTC
Jobs 2
Files 507
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Nov 2026 10:49PM UTC coverage: 82.744% (+0.03%) from 82.711%
45079844648

push

github

web-flow
fix(react): reset removed props, and warn about props that only apply at creation (#11267)

* fix(react): reset removed props, and warn about props that only apply at creation

Replays visgl/deck.gl-community#1088 onto @deck.gl/react. #10906 made Deck fall
back to the default for a prop passed as undefined, so the root only resets
props that a render removed, and passes undefined through.

- A prop the last configure had and this one doesn't is sent as its Deck
  default. layers, views, widgets and effects are left out of that spread, so
  views={undefined} can't clear views that a widget such as SplitterWidget set.
- An overlay that doesn't forward JSX views follows the same views rule with
  its views prop alone.
- In development builds, changing deviceProps, gl, debug, touchAction,
  eventRecognizerOptions or _typedArrayManagerProps after creation warns once
  per prop per root, with a link to the DeckGL docs.

The community PR's yarn patch isn't needed: deck.gl builds @deck.gl/core from
source, which includes #10906. Its creation-only test runs in the jsdom react
project, where vi.stubEnv reaches process.env.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LGNhMnSJ94uYgx7ihcVwPn

* fix(react): keep device and _canvases when they are removed

A live Deck can't take their defaults. Deck.setProps only swaps in a new
device, so sending null left Deck rendering with its device while its props
said null. _canvases chose single- or multi-canvas mode, and Deck.setProps
asserts that the mode never changes, so sending null threw.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LGNhMnSJ94uYgx7ihcVwPn

* fix(react): keep device and _canvases passed as undefined

Deck.setProps resets an explicit undefined to its default (#10906), so passing
device or _canvases as undefined hit the same problems as removing them. The
root leaves either out of setP... (continued)

12752 of 16116 branches covered (79.13%)

Branch coverage included in aggregate %.

40 of 40 new or added lines in 2 files covered. (100.0%)

19537 of 22907 relevant lines covered (85.29%)

29910.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 webgl-unit - 45079844648.1 22 Nov 2026 10:58PM UTC 507
82.56
GitHub Action Run
2 webgl-render - 45079844648.2 22 Nov 2026 10:57PM UTC 501
44.69
GitHub Action Run
Source Files on build 45079844648
  • Tree
  • List 507
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45079844648
  • 2db41110 on github
  • Prev Build on master (#45072301747)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc