I am building a React SPA and want search engines to properly index dynamic pages. Currently, the page title and meta description are updated client-side, but I'm concerned about how search engine crawlers handle this content.
What is the recommended approach for generating SEO-friendly meta tags in a React application? Should I use server-side rendering, static site generation, or a library such as React Helmet? What are the trade-offs in terms of crawlability and performance?