Repository navigation
docs(react): move the current API's pages to api-reference/react/legacy - #11254
Conversation
So the renderer's overview and DeckGL pages can take their paths. The pages' relative links gain a `../` for the deeper folder; nothing else changes. Links to these pages and the sidebar are updated in a later commit. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LGNhMnSJ94uYgx7ihcVwPn
- The sidebar's `@deck.gl/react` section lists the three pages under `@deck.gl/react/legacy`. - Links to `useWidget`, `DeckGL`, the React context and the 9.x what's-new entries point at the `/legacy` pages. - The v10 what's-new entry for React components loses its link until the renderer's pages are added. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LGNhMnSJ94uYgx7ihcVwPn
[Low impact] The latest link fixes appear safe to merge. SummaryMoves the existing React API documentation under
Reviews (2) · Last reviewed commit: "docs(react): point the core Deck and Lay..." · Reviewed by Greptile |
Comments Outside DiffThese findings could not be posted inline.
|
… DeckGL page Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LGNhMnSJ94uYgx7ihcVwPn
…erging master Merging the squashed #11254 applied its move of api-reference/react/{deckgl,overview}.md to legacy/ over this branch's new pages at those paths, and its legacy links over this branch's renderer links. This restores docs/ to 93d1add. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LGNhMnSJ94uYgx7ihcVwPn
For #11036. Closes #11037 - Renderer docs in api-reference/react and developer-guide/react; the previous API's pages are under /legacy (#11254) - Migration guide from @deck.gl/react 9, upgrade-guide entry and what's new - Ids: elements without an id get one from their place in the React tree (#11271) - DeckGL: removed props reset to their defaults, and props that only apply at creation (#11267) - Sidebar: a "Using with React" guide section
For #11036
Background
@deck.gl/reactis now the React renderer, and the previous API lives at@deck.gl/react/legacy. Its three pages move underlegacy/, so the renderer's pages can take their paths in the follow-up PR. Nothing new is added here.Change List
overview,deckgl,use-widgettoapi-reference/react/legacy/../; no other change@deck.gl/react/legacyuseWidget,DeckGL, React context and 9.x what's-new links at/legacyVerified locally:
yarn lint, and a script that checks every relative link in the changed pages resolves.Generated by Claude Code
Note
Low Risk
Documentation-only changes moving files and updating internal reference links with no impact on runtime code.
Overview
Relocates the existing
@deck.gl/reactdocumentation (overview,deckgl, anduse-widget) todocs/api-reference/react/legacy/in preparation for the new React renderer documentation.Updates
docs/table-of-contents.jsonto place these pages under a@deck.gl/react/legacycategory and fixes cross-references and relative links across the documentation to point to the new paths.Reviewed by Cursor Bugbot for commit 8903960. Bugbot is set up for automated code reviews on this repo. Configure here.