@hchin snack has a few modules pre-bundled which show up in the auto-complete when you’re writing the import.
Third-party dependencies such as react-native-elements
which aren’t bundled by default can be used by adding them to the package.json
file. When you import such a module, we prompt you to add it to package.json
automatically, however you can also add it manually. If you don’t add it to package.json
, you’ll get the “unable to resolve module” error.
Are you getting the error even after adding the dep to package.json
? If yes, will be great if you can post the link to the snack where you get this error so I can take a look at what’s wrong.