Home > Mobile >  Does React Router index pages to Google?
Does React Router index pages to Google?

Time:09-18

I want to create a personal blog with React and my question which I was unable to find is whether the library React Router would give access to Google to index my blog articles.

I was planning on using Meteor with React and having a reusable component child who will get specific parameters when an onClick event occurs and with that parameter make a query to the database and get the article data to display it.

By doing this will Google index all my articles? Or should I do it another way?

CodePudding user response:

Anwser to this question is not straightforward, but in short - no.

I would suggest server side rendering, since google bot still does not handle spa as good as static HTML.

Check out next.js or remix.run.

CodePudding user response:

If you want to start personal blog, maybe the best approach will be to use framework that based on React and has an option of Static Generation.

Check one of these:

Both has pretty good documentation and community.

  • Related