rexxars / react-layout-pack

React component for "packing" elements together in a pinterest-like layout
http://rexxars.github.io/react-layout-pack/
MIT License
89 stars 12 forks source link

ready for production? #4

Open FaridSafi opened 8 years ago

FaridSafi commented 8 years ago

Hello, thank you for sharing.

Is this component ready for production? If not, what features/fixes are missing?

rexxars commented 8 years ago

Hard to say. I've been using it in my projects for a while without any problems, but they are of fairly limited scope. I think support for variable-width items and perhaps a few more layout options would be nice, but it's not something I have prioritized or any concrete plans for at the moment.

rexxars commented 8 years ago

Ah, I should also say: Styles are set explicitly on the child elements, which is kind of ugly. The alternative would be constructing our own container nodes with styles and putting children into them. More work, but doesn't mutate elements in the DOM, so this is probably something that should be looked at.