Use case
Framework
No Results
Owner
- Preact/X/Migration Recipe- This recipe provides a collection of codemods to help you migrate your codebase to Preact X. These codemods are designed to streamline the transition process by automating common code transformations. 
- Preact/X/Replace This State With Prevstate- A codemod that prevents synchronous state access in Preact by converting - setStateto use a callback function.
- Preact/X/Props Children To Child Array- A codemod that enhances child handling in Preact components by using - toChildArrayfor accurate child count.
- Preact/X/LibraryAuthors Attribute Node Children Renaming- This codemod is intended for library authors who are maintaining packages to be used with Preact X. 
- Preact/X/Preact Import Source Update- A codemod that updates imports from Preact to React equivalents and modifies certain Preact imports for compatibility. 
- Preact/X/Default Import To Namespace Import- A codemod that converts named imports of Preact to namespace imports for improved compatibility and consistency.