News for hackers. Stuff that matters.
Re:Bootstrap 3.4.0 released by andrewstuart on Thursday December 13, 2018 @08:37PM (#18677718)
Which of the CSS frameworks works best with ReactJS?
Re:Bootstrap 3.4.0 released by dfee on Thursday December 13, 2018 @08:46PM (#18677750)
Shameless plug: I just put `rbx` 1.0 together which has 100% coverage and fully implements the Bulma framework for React.

Every component has a story, and it’s written in TypeScript (transpiled to JS). I hope to get around to releasing this big update on npm tonight(!) but for now you can use the code straight from GitHub.

Also, the wrapping is complete yet minimal - there are only a couple components with state and you can override those with a `managed` flag.

Also, every component supports ref forwarding (using of course `ref`), and can render as any other component using the `as` prop. For example, if you want to bring your own Form, Link, or Table framework, this will work with that seemlessly.

  <Button color=‘primary’ as={Link} to=‘/‘>Go home</Button>
https://github.com/dfee/rbx
Re:Bootstrap 3.4.0 released by thomasfedb on Thursday December 13, 2018 @08:52PM (#18677772)
Looks promising. Any ideas about handling date/time in a way that's consistent with this and also works across desktop and mobile?
Re:Bootstrap 3.4.0 released by sooheon on Thursday December 13, 2018 @09:18PM (#18677913)
Awesome, love the storybook. Components>Media>Input is broken FYI.
Re:Bootstrap 3.4.0 released by dfee on Thursday December 13, 2018 @09:27PM (#18677950)
Haha of course. Probably a change I made earlier today. I’m at dinner now, but will update it in a couple hours.
Re:Bootstrap 3.4.0 released by diesal11 on Thursday December 13, 2018 @08:54PM (#18677786)
I've been using reactstrap[0], it's everything you'd expect from bootstrap react bindings and has been great while i've been leaning React this year.

No doubt there would be better solutions more tailored to react out there.

[0] http://reactstrap.github.io/

Re:Bootstrap 3.4.0 released by manigandham on Thursday December 13, 2018 @09:19PM (#18677922)
If you're using a frontend view engine like React then I'd recommend looking into component-based CSS frameworks like https://tachyons.io/ or https://tailwindcss.com/ where you have classes for the basics and add them together for the final output. It's a natural fit to view components.
Re:Bootstrap 3.4.0 released by cygned on Friday December 14, 2018 @12:58AM (#18678764)
I have tried both with quite complicated applications and I have to say that I prefer tailwind.

With PostCSS in your pipeline, you can add the tailwind plugin and start composing CSS. This way, you can use your configuration even in places where you are required to write CSS (e.g. for transitions or media queries):

    @screen xs {
      .item {
        @apply border-b border-blue-darker;
        transition: background-color 0.2s;
      }
    }
Re:Bootstrap 3.4.0 released by androidgirl on Thursday December 13, 2018 @09:58PM (#18678092)
+1 for tachyons. Tachyons + React is very powerful.
Re:Bootstrap 3.4.0 released by kmlx on Friday December 14, 2018 @05:24AM (#18679818)
More than just CSS, we use Material UI: https://material-ui.com/
Re:Bootstrap 3.4.0 released by kowdermeister on Friday December 14, 2018 @02:50AM (#18679207)
Take a look at: https://ant.design/

It's a UI library with all imaginable widgets.

Re:Bootstrap 3.4.0 released by bpicolo on Friday December 14, 2018 @10:28AM (#18681457)
I picked ant.design for a recent project - it's pretty darn sweet.

element (in vue) is also pretty terrific: https://element.eleme.io/

Re:Bootstrap 3.4.0 released by Achshar on Friday December 14, 2018 @06:48AM (#18680178)
None, go vanilla.