-
-
Notifications
You must be signed in to change notification settings - Fork 870
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
Is it time to drop Aphrodite? #60
Comments
Could allow SASS-like writing of CSS --> https://github.com/jonathantneal/precss |
@jaredpalmer mm, yes { test: /\.css$/, loader: "style!css!postcss" }, //vendor css
{ test: /\.mcss$/, loader: "style!css?module&localIdentName=[name]__[local]___[hash:base64:5]!postcss" }, // css modules for complex logic |
and may be change aphrodite on css-look or jss?? |
Does CSS modules support server side rendering? |
@ranyefet yes, css modules does support ssr, we could use extract-text loader. Problem is that you usually have to include all of the css for the whole app, which can get heavy. There are ways to async load using react-side-effect though. |
@jaredpalmer |
Maybe we can use Isomorphic-Style-Loader which render CSS critical path, so it fixes the issues to loading the whole app CSS for every page. |
Update on this: I am had an idea / working on modification to When I'm finished, I will likely replace Aphrodite with this solution. |
My problem is Aphrodite is a lack of composebility....base styles with overrides are impossible. I prefer jsxstyle for this, but it has not yet been updated for React 15.
Should we move to CSS Modules in the meantime? If so, What PostCSS plugins should we use?
The text was updated successfully, but these errors were encountered: