There is a claim that Google is perfectly fine with JS and there is even a PoC that tests it
Still, server-side rendering is believed to be standard of the industry solution.
However, if you can prerender your web page and pass it to the crawler. This Go project
should provide you with the overall impression.