Check for cookies before load
Unanswered
Greyhound posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
GreyhoundOP
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.
Thanks.
Thanks.