Open millette opened 2 years ago
We definitely need support for a way to change the lang of the html reactively
You can do this, but it's not the most ergonomic. https://github.com/solidjs/solid-site/pull/292/files
No that's not exactly what i need, because it doesn't support ssr. On page load the current lang will be fixed to a specific value
I'd like to specify the page language (SSR or not) but it looks like <html lang...> can only be hardcoded in index.html.
I had a look at https://github.com/solidjs/solid-site/ and I don't see support for that feature either.
Support would be greatly appreciated but perhaps it should reside in another package, I'm not sure...