"Component Exception" in ListingEditScreen.js React Native Course "Part 1" - "Section 7" - Forms

I don’t know what’s wrong here. I get this error message evertime I try to display the ListingEditScreen. I used the .js-files from Mosh. The code seems to be ok in VS Code.

I don’t think I ran into a problem with that component in Part 1. Check for a typo in your import statements and in the lines of code where each component is used.

So far, I’ve found that I can typically make a mistake that VSC doesn’t flag – but error messages show up when I try to run the app.

Got it. I did not export the AppFormPicker-Component in index.js in the forms-folder … so

import { … AppFormPicker …} from “…/components/forms” did not work.

1 Like