Skip to content

Update react, vite, eslint, and plugin-react#224

Merged
aaylward merged 2 commits intomainfrom
update-deps-combined
Apr 15, 2026
Merged

Update react, vite, eslint, and plugin-react#224
aaylward merged 2 commits intomainfrom
update-deps-combined

Conversation

@aaylward
Copy link
Copy Markdown
Contributor

@aaylward aaylward commented Apr 15, 2026

Combines the 4 open dependabot PRs that each fail individually due to cross-dependencies: vite 8 needs plugin-react 6 and vice versa, react 19.2.5 needs react-dom bumped too, and eslint 10 needs the react-hooks canary for peer support.

Also converts manualChunks to function form for Rolldown (vite 8) and fixes the new set-state-in-effect lint violations by converting derived-state effects to useMemo.

Resolves #201, #221, #222, #223

- Bump react and react-dom to 19.2.5
- Bump vite to 8.0.8 and @vitejs/plugin-react to 6.0.1
- Bump eslint to 10.2.0 and @eslint/js to 10.0.1
- Use eslint-plugin-react-hooks canary for eslint 10 peer support
- Convert manualChunks to function form for Rolldown (vite 8)
- Disable new canary-only lint rules to keep update non-breaking
Convert useEffect+setState patterns to useMemo for derived state in
math-learning components. Move animation end-state transitions into
timer callbacks. Add targeted inline suppressions for golf permalink
state machine effects where setState coordinates with network calls.

Also disable new canary-only lint rules (purity, refs) that flag
pre-existing patterns unrelated to this update.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
muchq b370ca0 Commit Preview URL

Branch Preview URL
Apr 15 2026, 01:17 AM

@aaylward aaylward merged commit 5bf2b47 into main Apr 15, 2026
2 checks passed
@aaylward aaylward deleted the update-deps-combined branch April 15, 2026 01:18
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