Render Error. I got this error while following the expo documentation


See the error I got while following the tutorial provided by expo documentation.

Hi @taiwojames100

If you look near the top of the file you should see something like this:

import * as React from 'react';

This is where “React” comes from.

In the code shown in your screenshot it’s complaining that it doesn’t know what “react” is. That’s because it should be “React.useState(null)” with a capital “R”.

1 Like

Thanks for stopping by @wodin . I have actually tried it with the capital “R” but still bringing the same error.

You will need to show more code and maybe more error messages.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.