Error-04: In React 18, SSRProvider is not necessary and is a noop. You can remove it from your app

Error-04: In React 18, SSRProvider is not necessary and is a noop. You can remove it from your app

Steps to fix this issue:

  1. Navigate to node_modules/native-base/src/core/NativeBaseProvider.tsx .
  1. Delete <SSRProvider></SSRProvider> that wraps {children}. Take care not to delete {children}.
  1. Remove SSRProvider imports. That is, `delete this line
    import { SSRProvider } from '@react-native-aria/utils';
  2. Now, create patch for this file so that anyone can get access to your node_module file.
    • install patch: npm i patch-package / npm i patch-package --legacy-peer-deps

Read more