Error: Unable to resolve module code example
Example: Error: Unable to resolve module ./index from
Encounterd this error Error: Unable to resolve module in react native after renaming .js file to .jsx. Fixed it by adding
resolver: {
sourceExts: ['jsx', 'js'],
},
to metro config