Aadarshrawat1

refactor-native-module-calls

No description available

react-native
Public
0 executions
Run locally
npx codemod refactor-native-module-calls
Documentation

Convert Callback-Based Native Module Calls to Synchronous Assignments

This codemod updates your React Native code to use the New Architecture's synchronous native module calls, replacing callback-based patterns for improved performance and simplicity.

Example

Before

ts

After

ts

Ready to contribute?

Build your own codemod and share it with the community.