Skip to content
Advertisement

React Simple Compont is not rendering inside the browser

Hi have create a sample function and called inside the RenderDOM

But seeing in the brower end the output is not showing

Do anyone have any suggestion

JavaScript

What is wrong with this code

Advertisement

Answer

React component needs to be in capitalizing first letter:

You can see it in the log error:

JavaScript

So change it to:

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement