T
TanStack3y ago
dependent-tan

Will there be support for dynamically changing head on a server-side? Like react-helmet-async

As you may know, when working with only client-side change/add attributes in <head>, there are problems with displaying the page in search engines and with sharing publications in social networks. This is due to the fact that social networks and some search engines do not load the whole site with JS, but only the index.html. The tanstack router website has an example of SSR, but there is no example of changing <head> when navigating between pages on a server-side. Question: will there be support for third party libraries (preferably with an example) or a built-in solution for such?
2 Replies
fair-rose
fair-rose3y ago
There will absolutely be integration points for 3rd party libraries that manage head. As for a built in solution… likely not but we’ll see
dependent-tan
dependent-tanOP3y ago
@Tanner Linsley Thank you so much for the answer! As I wish to migrate my blog from react-location to tanstack router, that feature is very crucial.

Did you find this page helpful?