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

Feature Request Whitelist Implementation #1

Closed
StringKe opened this issue Aug 26, 2023 · 3 comments
Closed

Feature Request Whitelist Implementation #1

StringKe opened this issue Aug 26, 2023 · 3 comments

Comments

@StringKe
Copy link

StringKe commented Aug 26, 2023

Only pages configured in the whitelist list are rendered with SSR.

elacca: {
   use: ["/*"],
   skip: ["/home"]
}
@remorses
Copy link
Owner

is adding the “skip ssr” directive on top of the pages too much work? I want to keep this api because it’s consistent with “use client” and “use server” directives

@StringKe
Copy link
Author

Keep the 'skip ssr' directive, I probably have over 300 pages. maybe some sort of prioritization rule could be adhered to?

directive > elacca.skip > elacca.use

@remorses
Copy link
Owner

You can use fond and replace in your editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants