Skip to content

docs: record declining React Compiler for the demo app - #173

Merged
funkadelic merged 2 commits into
mainfrom
docs/react-compiler-decline
Nov 27, 2026
Merged

funkadelic merged 2 commits into
mainfrom
docs/react-compiler-decline

Conversation

@funkadelic

@funkadelic funkadelic commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

adds a decision record with the numbers from trying React Compiler, and shortens the build config comment to point at it


Summary by cubic

Adds a decision record explaining why the demo app is not compiled with React Compiler, and replaces the long vite.config.ts comment with a pointer to it.

The spike ran against the merged search code and failed the coverage gate: 784/785 tests passed because the compiler's generated cache checks count against branch coverage. The record keeps the measured numbers, names the failing test and uncovered files, and lists the work required to revisit adoption. It also scopes the gain honestly: fewer TableBody re-renders were the only improvement measured, and adoption stays blocked on the gate and on the address ternary the compiler cannot handle in a try/catch.

Written for commit e4b17f6. Summary will update on new commits.

View guided diff Turn on auto-fix

@codecov

codecov Bot commented Nov 27, 2026

Copy link
Copy Markdown

Bundle Report

Bundle size has no change ✅

@codecov

codecov Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (4387deb) to head (e4b17f6).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #173   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           52        52           
  Lines          800       800           
  Branches       162       162           
=========================================
  Hits           800       800           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@funkadelic funkadelic self-assigned this Nov 27, 2026
@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Lighthouse, median of 3 mobile runs

Page Score FCP LCP TBT CLS Speed Index
Cities 100 0.8s 0.8s 7ms 0.000 0.8s
Films 95 0.8s 3.0s 0ms 0.000 0.8s

Full reports

@codspeed

codspeed Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

1 warning

⚠️ 3 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 26 untouched benchmarks


Comparing docs/react-compiler-decline (e4b17f6) with main (4387deb)

Open in CodSpeed

@funkadelic
funkadelic force-pushed the docs/react-compiler-decline branch from 09898da to 272afb8 Compare November 27, 2026 22:58
@funkadelic
funkadelic marked this pull request as ready for review November 27, 2026 22:59

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread docs/adr/0018-no-react-compiler.md Resolved
@sonarqubecloud

Copy link
Copy Markdown

@funkadelic
funkadelic merged commit 3974167 into main Nov 27, 2026
16 checks passed
@funkadelic
funkadelic deleted the docs/react-compiler-decline branch November 27, 2026 23:09
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.

1 participant