I updated the react-native package because the old version uses an old version of the Metro bundler, which isn't compatible in newer projects. I also removed the @types/react-native package because it was deprecated, and react-native now comes with types included. To conclude with, I also updated the metro babel preset package version to ensure it's compatible with the updated react-native version.
Hey,
I updated the react-native package because the old version uses an old version of the Metro bundler, which isn't compatible in newer projects. I also removed the
@types/react-native
package because it was deprecated, and react-native now comes with types included. To conclude with, I also updated the metro babel preset package version to ensure it's compatible with the updated react-native version.