Repository navigation
chore(react): remove DeckCanvas from @deck.gl/react - #11259
Merged
Merged
Conversation
DeckCanvas came over with the faithful copy of the community react-fiber package (#11245), but it doesn't use the renderer and was never part of the upstream plan that the TSC reviewed. It came from a proof of concept (visgl/deck.gl-community#846) whose RFC (#10392) is still a draft, and it wraps deck.setProps until core has setPropsSource. It moves to the community @deck.gl-community/react package instead. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LGNhMnSJ94uYgx7ihcVwPn
chrisgervang
pushed a commit
that referenced
this pull request
Nov 20, 2026
DeckCanvas leaves @deck.gl/react in #11259 and moves to @deck.gl-community/react. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LGNhMnSJ94uYgx7ihcVwPn
[Low impact] The PR appears safe to merge. SummaryRemoves
Reviews (2) · Last reviewed commit: "chore(react): remove DeckCanvas from @de..." · Reviewed by Greptile |
This was referenced Nov 20, 2026
chrisgervang
added a commit
to visgl/deck.gl-community
that referenced
this pull request
Nov 21, 2026
…ty/react (#1098) * refactor(react): move DeckCanvas from react-fiber to @deck.gl-community/react DeckCanvas doesn't use the Fiber renderer; it renders a canvas and adds its views, layers and widgets to an application-owned Deck. It moves to the general React components package, with its tests, docs and the multi-canvas example. - DeckCanvas and its registry move to modules/react/src/components, with a local layout-effect helper. The 'client-only' marker is dropped so the package root stays importable during server rendering; the component only touches the DOM from layout effects. - @deck.gl-community/react gains a peer dependency on @deck.gl/core. - The multi-canvas example moves to examples/react/multi-canvas. - The upgrade guide and what's new describe the new import. deck.gl removes DeckCanvas from @deck.gl/react in visgl/deck.gl#11259. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LGNhMnSJ94uYgx7ihcVwPn * docs: drop the DeckCanvas upgrade note; react-fiber was never published Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LGNhMnSJ94uYgx7ihcVwPn * fix(react): don't add a @deck.gl/core peer to @deck.gl-community/react DeckCanvas imports only types from @deck.gl/core, so the package doesn't need it at runtime. The exact 10.0.0-alpha.1 peer made npm report ERESOLVE for Panel and ReactPanel users on deck.gl 9, and an optional peer conflicts the same way when an older @deck.gl/core is installed. The DeckCanvas page states that multi-canvas mode needs @deck.gl/core 9.4 or later. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LGNhMnSJ94uYgx7ihcVwPn * refactor(react): export DeckCanvas from @deck.gl-community/react/deck-canvas The package root no longer re-exports DeckCanvas, so its declarations never reference @deck.gl/core. A TypeScript app that uses only Panel, has no @deck.gl/core and sets skipLibCheck: false typechecks again. DeckCanvas users import the subpath, which keeps the real core types. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LGNhMnSJ94uYgx7ihcVwPn --------- Co-authored-by: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow up of #11245
Background
DeckCanvascame over with the faithful copy of the communityreact-fiberpackage, but it doesn't use the renderer, and the TSC review (#11041) never covered it. It came from a proof of concept (visgl/deck.gl-community#846) whose RFC (#10392) is still a draft. It moves to@deck.gl-community/reactin visgl/deck.gl-community#1098. This supersedes #11258. #11255 drops its docs page.Change List
@deck.gl/react: removeDeckCanvas,DeckCanvasPropsand the canvas registry