Why do library imports and props show errors in React? (Solved)

Pranesh Chowdhury - Feb 26 - - Dev Community

When I was new to React

I am learning React.js and I've encountered a problem when importing the React library. An error is displayed, but it doesn't affect my output. 😥
Additionally, I encounter the same issue when using 'props' in a function.

Here is the screenshot:

Image description

How can I solve it??

Solution Explain Here:

You don't have to do anything; just ignore the error. If you have any unused libraries or variables in your code, then remove them. "eslint" shows errors for missing values and unused libraries.

Thank You 🗨️

. . . . . . . . . . . . . . . . .
Terabox Video Player