Replies: 2 comments 1 reply
-
i think you should replace protected info with dummy data until user login and get real info to show it examble
|
Beta Was this translation helpful? Give feedback.
1 reply
-
you can do this with same logic create function in server side to fetch info then check if there is token then call this function and get info from server then render it in site |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I'm trying to blur out certain content in the community detail page for users who are not logged in, similar to how blurred images are displayed. The goal is to hide some parts of the page (e.g., answers) while still fetching data using SSR. However, I want to ensure that this blurred data is not visible in the HTML response within the network tab.
Is it possible to implement this kind of behavior while using SSR in the Next.js pages router (not the app router with server components)? If so, how can I achieve this?
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions