-
Notifications
You must be signed in to change notification settings - Fork 308
Use inline-style-prefixer #374
Comments
👍 This makes a ton of sense |
This looks awesome! Excited for this. |
@ianobermiller Hey Ian, how it goes with this? Any help needed? I'm really excited about this feature as it will finally fix the server rendering issue of our isomorphic app. |
Also interested in the status of this and how universal rendering should be handled with regards to Radium in general. I'm currently creating a While this seems to work, it's a bit messy (though I'm not really sure how else to provide the plugin with the right prefixer/UA when it comes to server requests without using context). Any guidance would be appreciated. |
👍 for this feature. |
Instead of Radium's DOM-based prefixer, which does not work on the server, we should use
inline-style-prefixer
, which does prefixing based on user agent (using the same data as autoprefixer). This library will make prefixes rendered on the server identical to those on the client, as long as the user agent is the same.I'm working with @rofrischmann to clean up the API and reduce the size of the library, but as it stands it will not add too much bulk to Radium, maybe 1k or 2k more.
This will solve a number of issues: #201, #301, #311, #328, #342, #350, #351.
The text was updated successfully, but these errors were encountered: