Upload your project and get production-ready migrated code in minutes.
Paste a GitHub URL or upload a ZIP file of your React Class Components project.
The engine scans your codebase to identify React Class Components patterns, APIs, and configuration that need updating.
Hybrid AST + AI engine applies deterministic transforms for configuration and dependencies, and AI-powered transforms for complex code changes. Every change gets a confidence score.
Get a ZIP with your fully migrated code, a complete migration report, and a checklist of items flagged for manual review.
Hooks produce smaller bundles, enable better code reuse through custom hooks, and align with React's future direction. React 19 deprecates several class-only patterns, and the React team recommends functional components for all new code.
Nivo handles the vast majority of patterns: state, lifecycle methods, refs, context, and PureComponent. Complex cases like getDerivedStateFromProps and error boundaries are transformed with clear annotations for your review.
Most projects complete in under 10 minutes. Each class component produces a reviewable diff showing the before and after. The conversion preserves all component behavior and prop interfaces.
React does not yet support error boundaries with hooks. Nivo leaves error boundary classes intact and adds a comment noting they require class syntax. All other class components are converted.
Tests that use shallow rendering or instance methods (wrapper.instance()) will need adjustment since functional components have no instance. Nivo flags these test files and updates straightforward enzyme/testing-library patterns.
Yes. Nivo understands common decorators like @observer (MobX), @connect (Redux), and @withRouter, converting them to their hooks equivalents: useObserver, useSelector/useDispatch, and useRouter.
Free tier available — no credit card required
Automatically migrate React 18 to React 19. Handles ref-as-prop, removal of forwardRef, new use() hook, Actions API, and deprecated legacy APIs in minutes.
Framework UpgradeAutomatically migrate your JavaScript project to TypeScript. Adds type annotations, generates tsconfig, converts .js to .ts/.tsx, and resolves type errors.
Framework UpgradeAutomatically migrate from Create React App to Vite. Handles config conversion, environment variable prefixes, proxy setup, and react-scripts removal in minutes.
Framework Upgrade