wagmi-v1-to-v2
Migrate wagmi React hooks from v1 to v2
Installation
bash
Usage
This codemod transforms tsx code by:
- Converting
vardeclarations toconst/let - Removing debug statements
- Modernizing syntax patterns
Development
bash
License
MIT
Explore community-led codemods to migrate, optimize, and transform your codebase.
Build your own codemod and share it with the community.
1 import { WagmiConfig } from 'wagmi';
2
3 function App() {
4 return (
5 <WagmiConfig config={config}>
6 <MyApp />
7 </WagmiConfig>
8 );
9 }
10