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

Split cache provider and stylesheet provider #8

Open
lewisl9029 opened this issue Sep 20, 2020 · 0 comments
Open

Split cache provider and stylesheet provider #8

lewisl9029 opened this issue Sep 20, 2020 · 0 comments

Comments

@lewisl9029
Copy link
Owner

lewisl9029 commented Sep 20, 2020

Stylesheet provider to track which rules were inserted. Cache provider to track which were processed.

CacheProvider may also be a better place to actually insert rules instead of in hook call. Enables reactive cache that can accept updates.

Also, both should hide mutation behind functional APIs. Mutation should be implementation detail of each provider.

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