Best Practices
Recommended Practices
- Prioritize writing new features in accordance with VuReact conventions
- Split into small modules for migration first to ensure each change is rollbackable
- Configure
excludeto explicitly exclude entry points and unstable directories - Use TypeScript + explicit props/emits definitions
- Fix input code first when encountering warnings, then continue expanding the migration scope
- It is recommended to have React development thinking
Common Anti-Patterns
- Continuously writing complex runtime "magic" with only Vue thinking
- Calling APIs that will be converted to Hooks outside of the top-level scope
- Treating "compilation warnings" as "ignorable prompts"
- Migrating the entire repository at once without phased acceptance checks
Outcome-Oriented Suggestions
Treat VuReact as a "compilation platform with boundaries" rather than an "unbounded fallback tool".
