Repository navigation
chore: import the current React API from @deck.gl/react/legacy - #11240
Merged
Merged
Conversation
Examples, test apps, the website and `deck.gl` now import `@deck.gl/react/legacy` instead of the package root. Both export the same API today, so nothing changes yet; when the root becomes the React renderer (#11183), these keep the current API. Split out of #11183. 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 within the stated local-development scope. SummaryMoves existing React imports and re-exports to
No new actionable issues found. chrisgervang accepted keeping Reviews (3) · Last reviewed commit: "Merge remote-tracking branch 'origin/mas..." · Reviewed by Greptile |
`examples/` targets published deck.gl 9.x, whose @deck.gl/react has no `/legacy` subpath, so its standalone `start` would fail to resolve the import. Only `examples-v10/`, the test apps, the website and `deck.gl` switch. 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 19, 2026
`examples/` targets published deck.gl 9.x, whose @deck.gl/react has no `/legacy` subpath, so it stays on the root import, as in #11240. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LGNhMnSJ94uYgx7ihcVwPn
…ports # Conflicts: # examples-v10/website/contour/app.tsx # examples-v10/website/heatmap/app.tsx # examples-v10/website/screen-grid/app.tsx
chrisgervang
pushed a commit
that referenced
this pull request
Nov 19, 2026
Brings in master, including #11240. The examples-v10 and website import conflicts take #11240's version, which already imports `/legacy`. The "Heatmap filtering" whats-new section, which an earlier merge here dropped by mistake, comes back with master's update. Master added `_ColorScaleWidget` to @deck.gl/widgets (#11193), so the root wraps it too, as the wrappers test requires for every widget class. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LGNhMnSJ94uYgx7ihcVwPn
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
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.
For #11036
Background
Split out of #11183 to make it smaller. The root and
@deck.gl/react/legacy(#11181) export the same API today, so this changes nothing yet. When the root becomes the React renderer in #11183, these files keep the current API.Change List
examples-v10, test apps and the website import@deck.gl/react/legacydeck.glre-exportsDeckGLfrom@deck.gl/react/legacyexamples/is unchanged: it targets published deck.gl 9.x, which has no/legacysubpath62 files, one import each.
Generated by Claude Code
Note
Low Risk
Low-risk refactoring that updates import paths to an existing subpath exporting the identical API, introducing no functional or breaking changes.
Overview
Updates internal React imports across
examples-v10, test applications, website demos, and thedeck.glmain package re-exports to use@deck.gl/react/legacyinstead of@deck.gl/react.This change prepares the codebase for an upcoming new React renderer at the root entry point, ensuring existing examples and tests continue using the legacy React API without altering current runtime behavior.
Reviewed by Cursor Bugbot for commit ff04f30. Bugbot is set up for automated code reviews on this repo. Configure here.