If SEO is an important topic - i wouldn't recommend to use Javascript-based content loading.
Javascript-rendered pages ignore the basic paradigm of internet, used freely by Googlebot too. URL, unique resource locator, has no validity at Javascript-rendered sites. At Javascript-rendered sites any resource may have the same URL.
But, Googlebot needs an unique URL for crawling and indexing. That is why Javascript-rendered sites make heavy use of fallback techniques, like History API, server side pre-rendering and so on - with a single purpose - to make a document show to Googlebot a unique address, while it natively doesn't have one.
Frameworks for creation of Javascript-rendered sites, all the React, Angular, Vue and gazillion of similar, were invented for purposes, where proper content indexing wasn't a question, so-called SPAs, single page applications, like GMail. But, later hipster misappropriate these techniques and methods and began making everything with frameworks, invented for absolutely another things.
In my opinion, SLA frameworks should be used only for purposes, where indexing is not a task. And vise versa, where you care about indexing - use any technique, which creates native URL for each document.