Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protected Pages to RSC #1870

Merged
merged 4 commits into from
Oct 1, 2024
Merged

Protected Pages to RSC #1870

merged 4 commits into from
Oct 1, 2024

Conversation

seanquiambao
Copy link
Collaborator

@seanquiambao seanquiambao commented Oct 1, 2024

created middleware.ts to get the headers (replacement for use path name).

had to create a client component for signin. putting logic into layout made the performance the same as before, at least this has a little better performance.

@seanquiambao seanquiambao self-assigned this Oct 1, 2024
@seanquiambao seanquiambao linked an issue Oct 1, 2024 that may be closed by this pull request
@shahdivyank shahdivyank merged commit c875a00 into dev Oct 1, 2024
6 checks passed
@shahdivyank shahdivyank deleted the sean/protectedpagesRSC branch October 1, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert Protected Page to RSC
2 participants