skip to Main Content

I have a website built with React.js, where if I right click and click on view page source option, I can’t see the code of the website. Is it ok if the code is not shown for SEO? It shows this much only.

I right click and clicked on view page source but couldn’t find the code like any other website

2

Answers


  1. You can use to React Developer Tools for this so it provides to detect React components source code from Chrome. You can check out this link

    Login or Signup to reply.
  2. Any website you develop using react or similar framework ,it is always rendered as plain html/js to the web browser, so your react code would have been re-rendered into js which you dont recognise , if you want to check your components structure or the props you pass you can use React Developer Tools like @Fulya suggested

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search