sejr / react-messenger

Chat UX components built with React, inspired by Facebook Messenger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

sejr opened this issue · comments

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.

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.