React Native/74/Remove Alert Action
This codemod removes references to deprecated alertAction
.
Before:
const alertAction = 'view';PushNotificationIOS.presentLocalNotification({ alertBody: 'body', alertAction });
After:
PushNotificationIOS.presentLocalNotification({ alertBody: 'body' });
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community