purescript-react / purescript-lumi-components

Library of our UI components
https://lumihq.github.io/purescript-lumi-components/#/
Apache License 2.0
105 stars 5 forks source link

Remove global CSS #4

Open paf31 opened 5 years ago

paf31 commented 5 years ago
dwhitney commented 5 years ago

I like what you guys are doing with JSS. What do you think about peeling it off into a separate library?

megamaddu commented 5 years ago

I think that'd be great, though it's very very rough at the moment. The current implementation is essentially just an unsafeCoerce, which probably doesn't merit its own library.

I'd like to figure out a better means of applying types to both the definitions and the way it's attached to DOM elements. That overlaps a lot with the efforts in https://github.com/dwhitney/purescript-react-basic-native though, and it might be easier to integrate with React as Styled-Components/Emotion types..