This codemod updates Svelte component rendering:
- Converts calls to
Component.render({...})torender(Component, { props }). - Ensures the import statement
import { render } from 'svelte/server'is added if render is used.
Before
jsx
After
jsx
Explore community-led codemods to migrate, optimize, and transform your codebase.
Build your own codemod and share it with the community.
No description available
Build your own codemod and share it with the community.