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

Preprocess css #50

Open
wants to merge 7 commits into
base: improving-meta-handling
Choose a base branch
from
Open

Preprocess css #50

wants to merge 7 commits into from

Conversation

avigoldman
Copy link
Contributor

This PR moves the CSS processing to the preRender function. This will allow for a couple of different improvements in the near future. It will make optimizations easier and will let us improve the scoping (see #20) and make the selectors safer across all clients.

The main change for the usage (undocumented right now) you'll see if this takes away the ability to use the Style element in the render function and replaces it with a css function that passes a parameter Style that lets you add CSS in.

@avigoldman avigoldman changed the base branch from master to improving-meta-handling December 2, 2017 04:56
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

Successfully merging this pull request may close these issues.

1 participant