I have a question similar to the one posted here.
I'm building a React application which has very strict SEO requirements, so I'm wondering if the following approach is an issue:
For all of our navigation/routing, we're using onClick handlers that push the user to the new location within the app. The way I've built the components means that the generated HTML does not have anchor tags, and thus there are no links/hrefs anywhere in the application.
Can googlebot handle this? Even if it can, I have a feeling it may adversely affect crawlers' ability to properly index the linking structure within the app.
If this is an issue, I will need to add links to everything, and simply prevent the default behavior before triggering the route. This way the crawler would at least be able to see links with href attributes in the HTML that point to the proper URLs.
Unfortunately, since this is a new application, it's not publicly available yet for me to test using the Fetch as Google tool.