What is currently the best way to set metatags on the server?

How can I set my pages meta tags on the server, so that they are set when bots come knocking at my door?

At the moment I’ve got a router that link a route to a container, renders the container immediately when the route matches, and then the container will fetch some data and render the main component and set the meta tags when data is available. Nothing very crazy. But some bots don’t wait that long. I’ve looked at flow-router-ssr but it doesn’t seem to do the trick,

Take a look at the kadira:dochead package

1 Like