ruby-hyperloop / ruby-hyperloop.io

The project has moved to Hyperstack!! - Ruby Hyperloop Website and Documentation
https://hyperstack.org/
22 stars 18 forks source link

using bootstrap with hyperloop #92

Open catmando opened 6 years ago

catmando commented 6 years ago

Sample response.

With Bootstrap, be aware that bootstrap.js and react.js do not play well together so any of the Bootstrap functionality that relies on JS in bootstrap.js will not work. There are two good projects where native React replacements have been re-written which work with the bootstrap CSS. They are ReactStrap https://reactstrap.github.io/ and ReactBootstrap https://react-bootstrap.github.io/ and both of them work very simply with Hyperloop and are a lot nicer to use than just the CSS in classes. You can import them both with NPM or Yarn and package with Webpack

Also is there (should there be?) a reactbootstrap opal gem? (I know you don't need it if using webpack)