react: port deck.gl's own apps to @deck.gl/react
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 15/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- react, typescript
Research direction
Start with the migration guide at docs/developer-guide/react/migrate-from-deckgl-react.md and the reference app in #11320. Choose one of the listed app groups and follow its linked task, such as #11398 or #11397; each group has different migration steps. Done means the selected apps use the new @deck.gl/react module and follow the applicable migration pattern.
Written by the indexing model from the issue text.
Description
Background
@deck.gl/react is the new renderer, and the TSC signed off on it (#11041). 80 files in this repo still import @deck.gl/react/legacy. This issue tracks moving the examples and the website to the new module, one PR per kind of change. Prerequisites land first, so the port PRs each sit on master instead of in a stack.
The migration guide (docs/developer-guide/react/migrate-from-deckgl-react.md) explains each change. The get-started MapLibre app (#11320) is the reference for apps with a react-map-gl <Map> child.
Plan
- Prerequisites. The website moves to React 19, which
@deck.gl/reactneeds. The website's@deck.gl/reactalias, which points a bare import at/legacyfor the 9.xexamples/gallery, is limited toexamples/. Theexamples-v10/websitepackage.json files move to@deck.gl/reactand React 19. Nothing visible changes. #11389, #11390, #11391, #11392 - Renderer fix. JSX views and layers reach
Deckon its first frame. #11395 - Props-only apps: the import changes, and layers, views and effects move to JSX. globe, orthographic, plot, point-cloud, treemap, wms, image-tile, mesh, google-3d-tiles, experimental/bezier, proposals/shared-tile-2d-layer, basemap-browser (deck-only renderer). #11398
- Apps with a react-map-gl
<Map>child.<Map>becomes the parent andDeckGLcomes from a map subpath: 3d-heatmap, 3d-tiles, arc, brushing, collision-filter, contour, geojson, heatmap, i3s, line, mask-extension, scatterplot, scenegraph, screen-grid, trips, zoom-bands. #11397 - Apps whose camera moves to the map: carto-sql (controlled view state and transitions), data-filter, text, experimental/h3-grid. #11414
- radio, a rewrite. #11417
- layer-browser, a rewrite (
useControl,ref.current.deck). - playground, a rewrite.
- Website doc demos:
demo-base.js,widgets.js,extensions.js.
On hold
- Apps with HTML children: 360-video, map-tile, terrain, terrain-extension, and highway, icon and path-style-extension, which render HTML tooltips. They wait for a better HTML story than a wrapper beside
DeckGL. - test/apps: after the examples. minimap, a multi-view app with a map child, may stay on
/legacy.
Stays on /legacy
The specs under test/modules/react that test /legacy itself, scripts/check-docs-snippets.mjs, the tsconfig and vitest config, the benchmark, and modules/main until #11324 is decided.
Generated by Claude Code
- Dominant language
- TypeScript
- Stars
- 14.8k
- Forks
- 2.3k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 230
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from visgl/deck.gl
-
[Bug] Tile3DLayer selects no tiles until the camera moves when tileset.json loads right after a layer updatePossibly taken @lee3Q claimed this 3 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
[Bug] SplitterWidget calls onDragStart on drag end; Deck._getViews writes into the app's views arrayPossibly taken @04jennet-coder claimed this 20 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
[Bug] WMSLayer positions EPSG:4326 images as CARTESIANPossibly taken @athomct claimed this 2 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
[Bug] MapLibreOverlay under React StrictMode: 'WebGL context already attached to device' because the attach path omits _reuseDevicesPossibly taken @jsve claimed this 84 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
visgl/deck.gl#10681 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
accessibility area:ci ci-test level:low priority:high type:test
Difficulty 2/5 1-3 hours Newbie friendliness 71/100
skytuhua-org/Gen-V1#3132 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
drmrd/vernacular#1238 ·
Maintainers usually reply within 1 day
-
question
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
enhancement migration-prioritized
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Hudson-Pufferfish/local-party-console#136 ·
Maintainers usually reply within 1 day
-
priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day