Postcss: PostCSS on a CSS-in-JS contained project

Created on 11 May 2019  路  2Comments  路  Source: postcss/postcss

I used PosCSS in several Reactjs projects. Now I wanna Use Aphrodite library for implementing CSS-in-JS (JSS) on my project, But I'm worried about Cross-Browser CSS, in the PostCSS configuration I set the config to support browsers and then in the output CSS I saw many new CSS properties that PostCSS was generated for me.

Now how it can happen on JSS? how I can use PostCSS benefits on a JSS project?

Most helpful comment

We recommend using zero runtime CSS-in-JS solutions like astroturf or linaria.

Compare to Aphrodite, zero time solutions have much better performance (no runtime on the client side, everything was made by Babel plugin during deploy) and support of many CSS tools including PostCSS.

All 2 comments

We recommend using zero runtime CSS-in-JS solutions like astroturf or linaria.

Compare to Aphrodite, zero time solutions have much better performance (no runtime on the client side, everything was made by Babel plugin during deploy) and support of many CSS tools including PostCSS.

Dear @ai (Andrey), I love you 馃拫 You're my man. thanks for your response.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jedmao picture jedmao  路  9Comments

hudochenkov picture hudochenkov  路  12Comments

manulitopetito picture manulitopetito  路  12Comments

ai picture ai  路  5Comments

iamstarkov picture iamstarkov  路  14Comments