Check for cookies before load
Open in Discord
Greyhound posted this in #help-forum
Hey all, I’m new to next js. I was wondering how I can check client side for a cookie (user_id), then if there’s that cookie render something different. I’ve figured out a way with UseEffect, but there’s like a small second where it switches.