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

Below The Fold #29

Open
theKashey opened this issue Jun 14, 2021 · 0 comments
Open

Below The Fold #29

theKashey opened this issue Jun 14, 2021 · 0 comments
Assignees

Comments

@theKashey
Copy link
Owner

Based on inspiration from @mikesherov - https://twitter.com/theKashey/status/1403516526955679748


right now there are two modes:

  • block mode, when styles are extracted from the whole HTML
  • stream mode, when styles are extracted from every single rendering "chunk", which is basically unknown

Proposal

  • add Fold components, which will act as a "separator" between "block-extracted" styles
    • in block mode styles will be separated into:
      • unmatchable
      • above the Fold
      • below the Fold
    • in stream mode styles, as well as HTML will be accumulated between two sibling Folds, providing better control on extraction if needed.
@theKashey theKashey self-assigned this Jun 14, 2021
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

1 participant