InfoQ Homepage News Bootstrap 4 Released, But It May Be Unnecessary

# Bootstrap 4 Released, But It May Be Unnecessary

After three years in development, the front-end framework Bootstrap 4 has been released. But it emerges into a world with a dramatically different web than that which existed when Mark Otto made the first commit, leading some developers to question if it's even necessary.

The major features of version 4 include:

• Improved grid system (Flexbox on by default)
• Now uses Sass (instead of Less)
• No support for IE8, IE9, and iOS 6
• Rewrite of JavaScript plugins
• Now uses rem instead of px.

Developers looking to upgrade from version 3 will need to test and possibly fix some issues. Much will work as is, but there are breaking changes. There is a migration guide that lists out what is different.

One of Bootstrap's advantages is its grid system. This system gave web pages a declarable way to render content in a grid system that flowed content from desktop to mobile without unnecessary tricks. The Bootstrap 4 grid system uses flexbox, which is supported on nearly all modern web browsers. The use of this feature is partly why only IE10+ and iOS7+ are supported. If legacy browsers are still needed for a project, developers will need to continue using Bootstrap 3. However, maintenance for Bootstrap 3 ended in 2016.

First released in 2011 as a product of Twitter, Bootstrap dubbed itself "The most popular HTML, CSS, and JS library in the world", but its growth seems to have topped out. Some, like Dan Tao, have criticized Boostrap for its tight coupling and lack of semantic meaning:

What at first seemed like a great set of building blocks eventually starts to morph into a mountain of technical debt. Your HTML is littered with deeply nested structures with Bootstrap-specific attributes.

The first alpha was released in August 2015, with the first beta two years later. But has Bootstrap 4 arrived at a time where it may no longer be needed? Its grid system is one of its biggest features, but the adoption of CSS Grid by mainline browsers means that Bootstrap 4's new flexbox-based grid is already outdated.

Natalya Shelburne, a software engineer at the New York Times, wrote that CSS Grid is the future:

CSS Grid isn’t a hack, it’s a proper layout tool for the web. You don’t need to install anything, you don’t need a preprocessor, and you don’t need to twist your brain into knots just to understand how it works.

In addition, with component-based styling techniques, such as the ones often used with React or Vue.js, the traditional "global CSS" techniques are unnecessary, says Ryan Oglesby:

With the help of UI libraries such as React or Vue.js, modern web application architecture has embraced loosely coupled, highly cohesive components that often co-locate HTML, CSS, and JavaScript in the same file.

Of course, Bootstrap's JavaScript plugins such as Popover and the Form controls make it a go-to framework for developers looking to get something decent looking up and running quickly.

Style

## Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

• ##### What's next?

by Sai Matam /

• ##### Re: What's next?

by Charles Cherry /

• ##### Re: What's next?

by Richard Clayton /

• ##### Re: What's next?

by Michael McCutcheon /

• ##### Re: What's next?

by Richard Clayton /

• ##### Embedded CSS in components

by Sai Matam /

• ##### Unnecessary?

by Carlo Pires /

• ##### What's next?

by Sai Matam /

Your message is awaiting moderation. Thank you for participating in the discussion.

If BootStrap is not relevant then what is the alternative?

regards,
Enablor Inc.

• ##### Re: What's next?

Your message is awaiting moderation. Thank you for participating in the discussion.

Exactly my question. Not everyone is jumping on the [insert latest JS framework here] bandwagon. For standard MVC web apps, for example, something like Bootstrap is very much needed.

• ##### Embedded CSS in components

by Sai Matam /

Your message is awaiting moderation. Thank you for participating in the discussion.

Even if CSS is embedded in components (Angular, Vue etc.), it is better to have a CSS framework:

• To have a cohesive look through out.

• To design at a higher level of abstraction.

-- Sai Matam
Enablor Inc.

• ##### Re: What's next?

Your message is awaiting moderation. Thank you for participating in the discussion.

There are a lot of alternatives to Bootstrap, namely Google's Material Design, Semantic UI, Lightning Design System, etc. I'm not saying Bootstrap is irrelevant, just that in the time it took version 4 to be released a lot of new frameworks cropped up and some (Material Design, Lightning) look a lot more modern than the out-of-the-box Bootstrap theme.

• ##### Re: What's next?

Your message is awaiting moderation. Thank you for participating in the discussion.

I took a look at material design...WOW that is horribly ugly. Textfields are underlines? Seriously? That is some kind of hipster garbage that is different for the sake of being different.

Bootstrap 4 looks very nice in comparison...clean and usable.

• ##### Re: What's next?

Your message is awaiting moderation. Thank you for participating in the discussion.

"Well, that's just...like...your opinion, man." -- The Dude.

• ##### Unnecessary?

by Carlo Pires /

Your message is awaiting moderation. Thank you for participating in the discussion.

To say bs4 is unnecessary is a huge exaggeration!

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.