#it is not about pocketbase how can i
1 messages · Page 1 of 1 (latest)
server
and this is auth for each individual?
yep
i assume pocketbase is accessing headers or cookies?
yes
i think so
or if i remember correctly
either way, cant we look at it as in the server will send a true or false value
and that's it
well
the reason i am calling out pocketbase specifcally
because how its getting it is important
so i make a server component that takes care of the result (true or false) and add two contionally rendered cliet components
like you need to understand if its server or client where the store is
but yes
if its server checks
oh that is what u mean
i look at example code
and it seems like pb.authStore is server
since its ran on serverSide props
so if thats the case then
make the button a client component
we do the approach that i mentionnd?