Skip to content

Rename DataGridDefaultRenderersContext to DataGridRenderersContext - #4164

Merged
nstepien merged 2 commits into
mainfrom
rename-renderers-context
Sep 4, 2026
Merged

nstepien merged 2 commits into
mainfrom
rename-renderers-context

Conversation

@nstepien

@nstepien nstepien commented Aug 29, 2026 •

Copy link
Copy Markdown
Collaborator

The Default felt redundant, so I'm removing it.


Drop the redundant "Default" from the renderers context name.

  • DataGridDefaultRenderersContext → DataGridRenderersContext (public API, also renames src/DataGridDefaultRenderersContext.ts → src/DataGridRenderersContext.ts and its displayName)
  • internal hook useDefaultRenderers → useRenderers
  • README.md / AGENTS.md updated
  • Renderers interface members marked readonly

Breaking change for consumers importing DataGridDefaultRenderersContext.

🤖 Generated with Claude Code

https://claude.ai/code/session_012ddk88CP21gAeuwpixmhdq

Drop the redundant "Default" from the context name and the file it lives
in, and rename the internal `useDefaultRenderers` hook to `useRenderers`.
Also mark the `Renderers` interface members as readonly.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_012ddk88CP21gAeuwpixmhdq
@codecov-commenter

codecov-commenter commented Aug 29, 2026 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.30%. Comparing base (16b5f1d) to head (3841dba).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4164      +/-   ##
==========================================
- Coverage   98.30%   98.30%   -0.01%     
==========================================
  Files          45       45              
  Lines        1944     1943       -1     
  Branches      733      732       -1     
==========================================
- Hits         1911     1910       -1     
  Misses         33       33              
Files with missing lines Coverage Δ
src/DataGrid.tsx 98.88% <100.00%> (ø)
src/DataGridRenderersContext.ts 100.00% <100.00%> (ø)
src/Row.tsx 100.00% <100.00%> (ø)
src/TreeDataGrid.tsx 94.41% <100.00%> (ø)
src/cellRenderers/SelectCellFormatter.tsx 100.00% <100.00%> (ø)
src/renderHeaderCell.tsx 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nstepien
nstepien marked this pull request as ready for review August 29, 2026 19:03
@nstepien
nstepien requested a review from amanmahajan7 as a code owner August 29, 2026 19:03
@nstepien
nstepien enabled auto-merge (squash) August 29, 2026 19:03
@nstepien nstepien self-assigned this Aug 30, 2026
@nstepien
nstepien merged commit fc152d8 into main Sep 4, 2026
2 checks passed
@nstepien
nstepien deleted the rename-renderers-context branch September 4, 2026 15:11
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