Skip to content

docs(react): move the current API's pages to api-reference/react/legacy - #11254

Merged
chrisgervang merged 3 commits into
masterfrom
chr/react-docs-legacy
Nov 20, 2026
Merged

chrisgervang merged 3 commits into
masterfrom
chr/react-docs-legacy

Conversation

@chrisgervang

@chrisgervang chrisgervang commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

For #11036

Background

@deck.gl/react is now the React renderer, and the previous API lives at @deck.gl/react/legacy. Its three pages move under legacy/, so the renderer's pages can take their paths in the follow-up PR. Nothing new is added here.

Change List

  • Move overview, deckgl, use-widget to api-reference/react/legacy/
    • Their relative links gain a ../; no other change
  • Sidebar: the three pages under @deck.gl/react/legacy
  • Point useWidget, DeckGL, React context and 9.x what's-new links at /legacy
  • What's new: unlink "React components" until the renderer's pages land

Verified 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/react documentation (overview, deckgl, and use-widget) to docs/api-reference/react/legacy/ in preparation for the new React renderer documentation.

Updates docs/table-of-contents.json to place these pages under a @deck.gl/react/legacy category 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.

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
@greptile-apps

greptile-apps Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The latest link fixes appear safe to merge.

Summary

Moves the existing React API documentation under api-reference/react/legacy and updates navigation and links. The latest changes repair the remaining links from the core API pages. No new actionable issues were found.

  • The old React API pages now sit under a legacy section.

Reviews (2) · Last reviewed commit: "docs(react): point the core Deck and Lay..." · Reviewed by Greptile

@greptile-apps

greptile-apps Bot commented Nov 20, 2026

Copy link
Copy Markdown

Comments Outside Diff

These findings could not be posted inline.

  • P2 Existing hook links stop working docs/api-reference/react/legacy/use-widget.md:1 ▶

    Existing hook links stop working. Moving this page removes /docs/api-reference/react/use-widget without a redirect. Readers following saved or external links now get a missing page instead of the hook reference. PR docs(react): document the React renderer as @deck.gl/react #11255 restores the overview and DeckGL routes, but not this one. Add a redirect from the old hook URL to /docs/api-reference/react/legacy/use-widget.

@coveralls

coveralls commented Nov 20, 2026 •

Copy link
Copy Markdown

Coverage Status

No base build to compare — chr/react-docs-legacy into master

@chrisgervang
chrisgervang added this pull request to the merge queue Nov 20, 2026
Merged via the queue into master with commit 73b28f3 Nov 20, 2026
10 checks passed
@chrisgervang
chrisgervang deleted the chr/react-docs-legacy branch November 20, 2026 01:20
chrisgervang pushed a commit that referenced this pull request Nov 20, 2026
…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
chrisgervang added a commit that referenced this pull request Nov 23, 2026
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants