How to allow for SSG when the navbar in your layout needs to read a cookie to know auth status
Unanswered
Cicada killer posted this in #help-forum
Cicada killerOP
I have an app that works great, but I noticed no pages are SSG, since in my layout component I read off a cookie so that my navbar can show either the login button or the logout button. Since the navbar is on ever page, am I unable to leverage SSG at all? What are my options for maybe keeping the navbar w/ cookie reading in my layout but still getting the benefits of SSG?