-
A document head manager for React. Contribute to nfl/react-helmet development by creating an account on GitHub.
Ok you didn’t post enough for me to be able to help you really but: - you need the server side rendered version of your page to have the meta tags so you won’t be able to use window since that’s only available on the browser. - the fact that you’re using window and it does not throw an error is concerning to me. - you should look into how the library you’re using works with server side generation. Like look how react-helmet does it: https://github.com/nfl/react-helmet. There should be tutorials with nextjs available somewhere.
#Development Tools #Developer Tools #Design Tools 15 social mentions