News for hackers. Stuff that matters.
Re:Show HN: Belle – Configurable React Components with Great UX by nik-graf on Wednesday July 15, 2015 @11:58AM (#9892021)
Hey, I'm one of the creators of Belle. Feel free to reach out in this thread in case you have any questions :)
Re:Show HN: Belle – Configurable React Components with Great UX by gianluca665 on Thursday July 16, 2015 @05:41AM (#9896205)
Great resource, must have if I want to have a plateau of reusable components for a REACT application, good job!
Re:Show HN: Belle – Configurable React Components with Great UX by sebastianconcpt on Wednesday July 15, 2015 @12:43PM (#9892358)
I really like the TextArea that auto-grows http://nikgraf.github.io/belle/#/component/text-input

It grows/contracts just as expected in Android and iOS too. That's handy. Nice job!

Re:Show HN: Belle – Configurable React Components with Great UX by nik-graf on Wednesday July 15, 2015 @01:32PM (#9892746)
Thanks Sebastian :)
Re:Show HN: Belle – Configurable React Components with Great UX by technic on Wednesday July 15, 2015 @02:25PM (#9893097)
Modal and tooltip/popover are the components that forced me to add react-bootstrap to my project (I didn't want to build those on my own.) Really looking forward to trying out Belle once those land.
Re:Show HN: Belle – Configurable React Components with Great UX by nik-graf on Wednesday July 15, 2015 @03:23PM (#9893464)
Thanks for your feedback technic. All of them are definitely on our list of components we want to do :)

Have you ever checked out: https://github.com/rackt/react-modal

Seems to be pretty solid implementation.

Re:Show HN: Belle – Configurable React Components with Great UX by jyotipuri on Wednesday July 15, 2015 @12:05PM (#9892068)
Great UX React components you should check out... .... from Creator No.2 :)
Re:Show HN: Belle – Configurable React Components with Great UX by jyotipuri on Wednesday July 15, 2015 @01:14PM (#9892586)
CSS in JS, works great... You see belle components are so very stable and configurable, you change theme of whole app so easily.
Re:Show HN: Belle – Configurable React Components with Great UX by iweinfuld on Wednesday July 15, 2015 @01:04PM (#9892504)
Congratulations Jyoti and Nik. I'm curious what the folks over here think about the choice to put styling in js.
Re:Show HN: Belle – Configurable React Components with Great UX by nik-graf on Wednesday July 15, 2015 @01:32PM (#9892743)
Hey Iwein, there are couple fundamental issue with the way we style HTML elements today. CSS is exposing every declaration into a global namespace. This makes it to eliminate dead code as it is hard to figure out where it is used. Many techniques like BEM were invented and declared as "the right way" to do styling.

I don't know if inline-styles defined in JS are the end-game, but working with it in combination with building components turned out to be working way better for us than using CSS.

If you want to know more about it I highly recommend this slidedeck: https://speakerdeck.com/vjeux/react-css-in-js

Re:Show HN: Belle – Configurable React Components with Great UX by rpwverheij on Thursday July 16, 2015 @08:01AM (#9896630)
looking really nice. Specifically the toggle is something I was looking for. This looks like clean use of markup and proper setup of CSS with good docu. Will definitly embed this in the future, and looking forward to see even more components. good stuff!
Re:Show HN: Belle – Configurable React Components with Great UX by nik-graf on Friday July 17, 2015 @09:30AM (#9902604)
Thank you very much. Glad you like it :)