Aadarshrawat1

refactor-native-module-calls

No description available

Legacy
react-native
Public
0 downloads
0 stars
How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

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.