What is React Bootstrap?
React-Bootstrap is a library of reusable front-end components. You'll get the look-and-feel of Twitter Bootstrap, but with much cleaner code, via Facebook's React.js framework.
React-Bootstrap is a complete re-implementation of the Bootstrap components using React. It has no dependency on either bootstrap.js or jQuery.
You can consume the library as CommonJS modules, ES6 modules via Babel, AMD, or as a global JS script.
React-Bootstrap is compatible with existing Bootstrap themes. Just follow the installation instructions for your theme of choice.
Because React-Bootstrap completely re-implements the JavaScript bits of Bootstrap, it's not automatically compatible with themes that extend the default JavaScript behaviors.
The Bootstrap code is so repetitive because HTML and CSS do not support the abstractions necessary for a nice library of components. That's why we have to write btnthree times, within an element called button.
The React.js solution is to write directly in Javascript. React takes over the page-rendering entirely.
NPM:
$ npm install react-bootstrap --save
BOWER:
$ bower install react react-bootstrap
Example Code: For Rending Button
var button = React.DOM.button({
className: "btn btn-lg btn-success",
children: "Register"
});
React.render(button, mountNode);
Video Tutorials:
https://www.youtube.com/watch?v=Ob6xHzmTpig