You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for this library. I was just looking over the API and, from what I gather, it can do everything one would dream of, as long as it's coming from a file.
However, I have a system where a JS object comes from the front-end, which contains information about how something should be styled. For example:
As you can see, this is not just simply "remove the '' from the value and call it a day". So, to my first(1) question, is the library able to do these conversions from plain objects and back?
My ultimate goal is to take the object that came from the front-end, parse it (perhaps change a few things as well), transform it into plain CSS and then, again, from that plain CSS, send back the CSS-as-object to the front-end for re-hydration.
I'd appreciate any guidance in this direction. Thank you a lot for an amazing library and the hard work you guys do!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey,
First of all, thank you for this library. I was just looking over the API and, from what I gather, it can do everything one would dream of, as long as it's coming from a file.
However, I have a system where a JS object comes from the front-end, which contains information about how something should be styled. For example:
As you can see, this is not just simply "remove the
''
from the value and call it a day". So, to my first(1) question, is the library able to do these conversions from plain objects and back?My ultimate goal is to take the object that came from the front-end, parse it (perhaps change a few things as well), transform it into plain CSS and then, again, from that plain CSS, send back the CSS-as-object to the front-end for re-hydration.
I'd appreciate any guidance in this direction. Thank you a lot for an amazing library and the hard work you guys do!
Beta Was this translation helpful? Give feedback.
All reactions