Skip to main content

Review Package React-Bootstrap

The React-Bootstrap package; a rebuilt version of the popular front-end framework for React.

Bootstrap is a well-known framework for fast developing websites and applications with a good-looking appearance. It's widely supported in several platforms and flavors. 

Earlier this week, I started the web development of an app based on React. I searched for a ready-to-use package that included all the CSS classes that Bootstrap provides. I came across the React-Bootstrap package. A rebuilt version of this popular front-end framework for React. 

The first thing that was a pleasant surprise to me was that, in addition to the CSS classes, it also includes its popular components. Furthermore, there is no external dependency on either bootstrap.js or jQuery. With React and React-Bootstrap installed, I had everything I needed. 

Since I already know in-depth what the guidelines of developing with Bootstrap are, I only needed to learn how to include and use the components. So, for example: 

<div class="container-fluid"> 

  <div class="row"> 

    <div class="col">content</div> 

  </div> 

</div> 

becomes in React: 

import {Container, Row, Col} from 'react-bootstrap'; 

<Container fluid> 

  <Row> 

    <Col>content</Col> 

  </Row> 

</Container> 

"Bootstrap in any of its flavors, is always a very good solution for an initial fast and attractive frontend development."

Classic Bootstrap classes become component attributes. Events and React hooks are, of course, also supported. 

Therefore: 

<button class="btn btn-primary" onclick="handleSaveEvent">Save changes</button> 

becomes: 

<Button variant="primary" onClick={handleSaveEvent}>Save changes</Button> 

As you may understand, this makes working with Bootstrap a piece of cake! 

Another advantage of this package is that it seems to be updated on a regular basis. With short periods between the releases of the base version and this port, to React. This gives confidence in the library and ensures long-term support. 

In my opinion, Bootstrap in any of its flavors, is always a very good solution for an initial fast and attractive frontend development. So why not use it with your React developments? If you know the original Bootstrap library, you already have a good head start, and you can type almost blindly knowing beforehand what the output is going to look like.

This review was written by Javi our Lead analist & Framework developer

More articles

Embracing the Future: Migrating to Google GA4 and Preserving Your Data in BigQuery
Unveil new opportunities and potential insights amid the shift from Universal Analytics to Google Analytics 4. Navigate this digital transition with…
Read more
Shopify Saas vs Magento Open Source self-owned
Read how we made the discission between SaaS and Open source in 2022. Because there is a lot to take into account.
Read more
Composer repository with Satis

How to create a composer repository with Satis and a Private GitHub repositories.

Read more
Composer based deployment - PHP projects

For those who do not have experience with Composer and want to enrich their workflow and make deployment fast and more reliable.

Read more
eCommerce project

Getting that digital sales experience right.

Read more
Review Package React-Bootstrap

The React-Bootstrap package; a rebuilt version of the popular front-end framework for React.

Read more
Amazon EU Order Sync Module
Automatically sync between Amazon and Magento with the Amazon EU Order Sync Module for Magento 2, and save time!
Read more
Magento Speed Module
We built a package to improve your Magento store speed up considerably. Say goodbye to slow page loading and get your online sales speed at the right…
Read more
We developed an extension onto the bundle product functionality of Magento that loads an interactive selection with graphical output. The module can…
Read more
Down Payment Module Magento 2
Downpayments or spread payments for Magento 2 are very common when orders come in large amounts. The customer makes an initial payment as a deposit…
Read more
Technical configurator
This technical configurator allows the technical product to be loaded with all variables and options. Depending on the selection the configurator…
Read more
AGB Module
Avoid hassle with German Law regulations!
Read more
Hreflang Module
A small advanced SEO module for Magento that loads the right SEO Hreflang tag inside Magento to get your international stores ranked high. Get your…
Read more
Quotation Module
One way of increasing your sales, is offering your customers a quote before they proceed with their purchase.
Read more
PIM, Special software or just a term...
Read more
Is your catalogue price rule condition not working on Magento and are you using bundle products? The cause is in the simple products that create the…
Read more
An image library specially built for the car industry. It loads the right car image with an associated product.
Read more

Also a project like this one?

Drop us a line, we are here to listen to your challenges. Let´s make success.

Somos Agente Digitalizador Kit Digital