Its good to know that search engine crawlers now evaluate JS; however, it's best to ensure that all search engines covers our website SEO efforts.
You need to implement server-side rendering or SSR.
SSR is where a page is rendered by the web server as part of the server request/response. In the case of ReactJS, VueJS or Angular, this is done by executing the app against a virtual DOM.
The state of the virtual DOM is modified to an HTML string, then injected into the page before as it is sent to the client. When the page is loaded, ReactJS, VueJS or your Angular app will seamlessly mount over the existing content.