On an official Google help page, Google says that it’s difficult to process JavaScript and that it is better to send static HTML pages to search engine crawlers.
“Currently, it’s difficult to process JavaScript and not all search engine crawlers are able to process it successfully or immediately.
In the future, we hope that this problem can be fixed, but in the meantime, we recommend dynamic rendering as a workaround solution to this problem. Dynamic rendering means switching between client-side rendered and pre-rendered content for specific user agents. […]
The dynamic renderer serves a version of the content that’s suitable to the crawler, for example, it may serve a static HTML version.”
JavaScript websites aren’t good for search engine optimization
Some time ago, Google said that they do not follow JavaScript links. It is very difficult to index pure JavaScript sites.
Try to deliver your web page content in plain HTML to search engines. The easier it is to parse your web pages, the more likely it is that your content can be indexed correctly.
To make sure that your web pages can be parsed by all crawlers, check your web pages with the website audit tool in SEOprofiler. You can create your SEOprofiler account here: