Site icon Hip-Hop Website Design and Development

Reactjs headless WordPress theme configure SEO

I have deployed reactjs as theme to wp.
Now I have question about SEO configuration for react-routes.
If I use wordpress (headless) as backend and reactjs as client side.
Should I make reactjs server-side or there are more ways to solve SEO problem.

I also used react-helmet but it’s only makes titles and content while visiting site not like when sharing facebook or google search.

Which is the best way to solve it.