I have information that is hidden to non developers, how should I handle displaying that that data i

How I currently do it
6 Replies
Hycord | @ When Replying
I have information that is hidden to non developers, how should I handle displaying that that data is hidden to the typical user?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Liam
Liam3y ago
IIRC w/ t3 stack you can have client and server side accessible .env variables. I would just have some kind of isDev env variable and then check if its true to decide what to render. Do note though that if its sensitive data then you will need some kind of SSR thing potentially.
Hycord | @ When Replying
I was more asking for style suggestions lol I have the data hidden properly and everythin
Liam
Liam3y ago
Like how to style it CSS wise? Kinda depends on the data tbh and what the rest of your design looks like If only you are looking at it though, totally up to you. Could just be a box on the screen tbh.
Brendonovich
Brendonovich3y ago
Just add some sort of 'For Developers:' title to that section?
Want results from more Discord servers?
Add your server