If you’re migrating a React Privy dApp originally built with
create-react-app, we recommend switching to Vite for improved performance and a better developer experience.
You can check out our examples for a complete implementation using Vite + Reown AppKit.Step 1. Create a project in Reown Dashboard
- Go to Reown Dashboard.
- Create a new project and copy your Project ID — you’ll need it later.
Step 2. Install & uninstall libraries
Replace Privy dependencies with Reown AppKit by running the following commands for your preferred package manager:Step 3. Update _app.tsx
Next, we need to replace the PrivyProvider with the combination of WagmiProvider and QueryClientProvider
- Update Your Imports
- Configure Reown AppKit Outside the Component
- Wrap Your App With Providers
appkit-button element:
Reown AppKit web components (like
<appkit-button>) are global HTML elements — no imports are necessary.Final notes
- Test your application thoroughly to ensure the migration has been successful and that all functionality is working as expected.
- Check our Reown Web examples to compare with your implementation if you encounter issues.
- If you want to start from scratch, refer to the Installation docs here.