-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
fix: optimizeDeps for react-form-start #5926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
WalkthroughAdds a conditional transitive include to the Vite optimizeDeps list for the react-start plugin and adjusts Cloudflare Env typing in an e2e declaration, preserving literal types and formatting. Changes
Sequence Diagram(s)N/A — changes are configuration and type adjustments that don't modify runtime control flow. Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (1)📓 Common learnings🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds Vite dependency optimization support for the newly released @tanstack/react-form-start package. The change ensures that when users opt to exclude @tanstack/react-form-start from optimization, its nested @tanstack/react-store dependency is properly included for CJS to ESM conversion, resolving issues with use-sync-external-store.
Key changes:
- Added conditional optimization for
@tanstack/react-form-start > @tanstack/react-storefollowing the same pattern as@tanstack/react-form
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
View your CI Pipeline Execution ↗ for commit a27bfbf
☁️ Nx Cloud last updated this comment at |
Tanstack Form has silently created a new package named
@tanstack/react-form-startrecently. BranchThe usage example is in this docs.
This PR, also optimize deps for
@tanstack/react-form-startto fix vite not resolving theuse-sync-external-storepackage.Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.