There is no difference for React Native, as per the error message. The message points to a breaking change of API in React 18. You might find Abal's hint useful. I'd search the code and do the replacement described in this answer