#Is it visible?

4 messages · Page 1 of 1 (latest)

frozen muralBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

trail pilot
#

Since the component is doing all the logic on client side the browser should have all the code to switch the rendering of the authenticated or not authenticated components, so yes, there is a way to get the code of both contents through the bundle. Sensitive data should be given from the API to only authorized users instead of you hardcoding it in the JSX

trail pilot
#

Send the data from the API then render it on the client

trail pilot
#

That shouldn't really matter in almost all cases 🤔 But if the html is somehow a big deal then you have no other choice if not returning it from the server as well, so that means SSR