Rework Volume component internals preventing unnecessary re-renders
Volume Button component
react-native-mmkv (opens in a new tab) is a drop in replacement for @react-native-async-storage/async-storage and is a much faster alternative.
Install the react-native-mmkv (opens in a new tab) module as a dependency of your application.
This is a breaking change
AsyncStorage (opens in a new tab) no longer part of React Native core. You need to install it separately.
Previously the AsyncStorage module was used to store the users previous payment method so that it could be used as the default payment method when the user next made a payment. This was done to reduce friction for the user and to make the payment process as simple as possible.
This is now removed from React Native and must be installed separately as a dependency of the application and not a third party library due to auto linking constraints.
Install the AsyncStorage (opens in a new tab) module as a dependency of your application.
sh yarn add @react-native-async-storage/async-storage
You must run
pod install in the ios directory of your application to link
the new dependency.