zero-to-nix
zero-to-nix copied to clipboard
(dev only) Clicking Related Concepts confuses the page title
It's possible to get the "Concepts" pages confused and displaying the wrong title for the page.
Here I am navigating to /concepts/nix-language then choosing other "Related" options and observing how the title does not change:
https://user-images.githubusercontent.com/130903/207710239-225ccbfa-7ad9-4b4f-925b-5a775db9dba0.mp4
Fortunately, this only happens when running the site locally in live reload mode, and not in the built site. I'm not quite sure why this happens but I suspect it's something related to hydration. I'll look into it.
Ahhh okay, if it's only in dev mode I don't think it's a big deal.
Not a huge deal but worth fixing because it makes me do a lot of double takes heh