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
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•3y ago
Message Not Public
Sign In & Join Server To View
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.
I was more asking for style suggestions lol
I have the data hidden properly and everythin
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.
Just add some sort of 'For Developers:' title to that section?