DEV Community

Discussion on: Atomic CSS-in-JS

Collapse
 
ferhatavdic profile image
FerhatAvdic • Edited

If i used this, i would most likely end up constructing a string i would pass to className of my component.

How would you go around dynamic values?
Styled components make this very easy to deal with.

Collapse
 
sebastienlorber profile image
Sebastien Lorber

RNW has specific constraints (API should work for RN too).
Don't know about Stylex, but I guess it's probably possible to pass inline styles and get them injected in a stylesheet, similar to the css props.