sejr / react-messenger

Chat UX components built with React, inspired by Facebook Messenger
MIT License
230 stars 62 forks source link

Should CSS be extracted into a separate, JS-agnostic UI library? #3

Open sejr opened 5 years ago

sejr commented 5 years ago

Right now, each component has its own distinct CSS files, with the exception of one or two helper classes (in the wrapper component Messenger). I might add a build step that builds all of these separate stylesheets into a minified file that could be used with Vue or Angular.

sejr commented 5 years ago

The biggest argument against this: the primary reason I put this code on GitHub was to make it easy for developers to recreate this functionality with minimal risk of messing something up.