7 ms·
Bootstrap 4's mobile-first flexbox grid system, now used by default
- andreash 10y agoThe pages doesn't tell how it differs from other flexboxed based css frameworks?
- taspeotis 10y agoIt's the manual, not marketing copy.
- meehow 10y agoNow I can use CSS like I was using tables 15 years ago.
- kagamine 10y agoNow I can use flex-box like I was using flex-box 3 years ago including on IE8. It's almost like living now but if now was then.
- jordanlev 10y agoAnd if "then" your flex-box usage actually worked for people not on Internet Explorer.
- andybak 10y agoTo be fair you've been able to do that with display: table-cell etc. I do love seeing <div class="table"> around the place. Sigh.
- spaceribs 10y agoNot exactly, you couldn't get colspans or rowspans with that.
- TeMPOraL 10y agoBetter that way than the standard practice of littering your code with semantically meaningless divs that are there just as hooks for CSS rules.
- pweissbrod 10y agoAs someone who does minimal front-end work I rely on bootstrap when I need quick UIs and try to read HN to understand the trends. This comment made me laugh. From an outsider perspective it looks like div is the new table. The latest fashion in style
- ZeroGravitas 10y agoJust as an fyi, I count 17 uses of display: table-cell and it's siblings in the Bootstrap 3 less code (possibly more once compiled to CSS). They didn't use it for their grid implementation though, and since they have found and documented a lot of very obscure browser compatibility bugs as part of their work, I'd guess they had a good reason for choosing what they did.
- crispyambulance 10y agoYup, it would appear that "tables are back" in a sense. Layout should be intuitive and easy. the table metaphor clearly works... maybe we should just accept it ! Reminds me of this comic strip from 12 years ago: http://okcancel.com/comic/98.html http://okcancel.com/comic/98.html
- mikegioia 10y agoI don't think "tables are back" here, per se. Tables, like any HTML element, are to be used semantically, like for displaying tabular data. They bring a lot of extra, unneeded markup and they're not a good layout mechanism for different size screens. I do think Flex-box takes the good elements of tables and turns them into something great :D
- SippinLean 10y agoI use bootstrap mixins + Sass for all my layout. If you're coupling it with your markup that's your fault.
- zackmorris 10y agoThis strikes a chord with me, as I never really saw what was so "bad" about tables. As I am more of a back end developer, I've written several interfaces using display:table and then the front end developers cleaned it up into "proper" css. This actually worked out as a good separation of duties and sped up development overall. The programmer in me then asks why this human step is needed if the output is equivalent.. I'm thinking that css is largely about encoding semantic data into layouts, because as far as I can tell it takes tremendously longer to do anything in css today than it did with tables in the 90s. And doing things in tables took tremendously longer than using a GUI like Adobe PageMaker in the 80s. We keep going backwards in productivity but there must be some value in the minimalism of how data is described and organized today.
- jordanlev 10y agoYour front end devs in this case were suffering from a bit of cargo culting (not truly understanding the difference between HTML and CSS). There is absolutely nothing wrong with using the display:table css properties (as long as its layout quirks around the way it decides to space things don't mess things up visually). What is wrong to do is use actual HTML <table>/<tr>/<td> tags for layout, because those impart semantic meaning about the structure of the content and should only be used for tabular data.
- tangue 10y agoOpen an inspector on your HN comment.
- devopsproject 10y agoeg: the only valid use of tables is my valid use of tables
- astine 10y agoJust because HN happens to use the simplest thing that could possibly work doesn't mean that the objections to tables being used for layout aren't valid.
- headcanon 10y agoYeah, thats a good thing :) tables are intuitive - Except now you can do a lot more stuff too!
- jherdman 10y agoI don't think that's quite true unless you had your tables dynamically laying themselves out by viewport size too. E.g. using SuitCSS Grid: <div class="Grid"> <div class="Grid-cell u-size1of3 u-sm-sizeFull">
- JoshGlazebrook 10y agoWhich was announced over a year ago and the project is still in alpha... Not to mention v3 is no longer officially supported.
- yellowboxtenant 10y agoWhere do you see v3 is no longer officially supported? This is from their blog when they announced Bootstrap 4 "When we shipped Bootstrap 3, we immediately discontinued all support for v2.x, causing a lot of pain for all our users out there. That was a mistake we won’t be making again. For the foreseeable future, we’ll be maintaining Bootstrap 3 with critical bug fixes and documentation improvements. v3 docs will also continue to be hosted after v4’s final release."
- tickthokk 10y agohttps://github.com/twbs/bootstrap/issues/20631 https://github.com/twbs/bootstrap/issues/20631 Essentially they've stopped working on v3. I don't think they used the words "no longer supported", but that's kind of what has happened.
- michaelcampbell 10y agoI'm not sure "no more forward feature development" translates to "no support".
- metamet 10y agoIt seems that V3 is mature enough to not need daily PRs to fix bugs.
- cmg 10y agoBootstrap 3 will still get bugfixes. Under the Internet Explorer section on [0]: > If you require IE8-9 support, use Bootstrap 3. It’s the most stable version of our code and is still supported by our team for critical bugfixes and documentation changes. However, no new features will be added to it. [0] https://v4-alpha.getbootstrap.com/getting-started/browsers-devices/#internet-explorer https://v4-alpha.getbootstrap.com/getting-started/browsers-d...
- chrismbarr 10y agoWhy is this at the top of HN right now? It's still in alpha. It's a good alpha and I've been using it on some projects, but I think some people might be mislead that this is the final release with the "4.0" in the title. The most recent version is alpha 6, and it sounds like they are shooting for their first beta version next: http://blog.getbootstrap.com/2017/01/06/bootstrap-4-alpha-6/ http://blog.getbootstrap.com/2017/01/06/bootstrap-4-alpha-6/
- StevePerkins 10y ago> Why is this at the top of HN right now? Because since being posted, it's averaged one upvote every 26 seconds and one new comment every 2 minutes, and that's more or less how the ranking algorithm works? Relax, it's HN... it'll be gone in a couple of hours.
- ZeroGravitas 10y agoPresumably because one of the big announcements contained in alpha 6 was that this flexbox grid was going to become the default and only implementation. In alpha 4 they had it available as an opt-in option. This change means they don't have IE9 support anymore.
- rangibaby 10y agoYou answered your own question with your second paragraph. Alpha 6 is a big deal because it is flexbox only afaik
- tedmiston 10y agoThe blog post you linked should be the story URL. I don't see any mention on the current story URL of a switch to flexbox being the default.
- tmaly 10y agoI am using bourbon.io for the flexbox grid system. My final css compressed is less than 4k for the whole site.
- kowdermeister 10y agoThey will have a SASS API, you can use the Bootstrap mixins and have a similarly small footprint.
- demetris 10y agoA SASS API just for the grid system or for all elements? Do you know where we can learn more about this?
- petetnt 10y agoYou can just include the grid system alone [1] right now if you want to right now: @import "path/to/bootstrap/scss/bootstrap-grid" [1] https://github.com/twbs/bootstrap/blob/v4-dev/scss/bootstrap-grid.scss https://github.com/twbs/bootstrap/blob/v4-dev/scss/bootstrap... https://github.com/twbs/bootstrap/blob/v4-dev/scss/bootstrap-grid.scss https://github.com/twbs/bootstrap/blob/v4-dev/scss/bootstrap...
- greenspot 10y agoOk looks good but what if I don't like to use Sass but want use Stylus? (Serious question)
- kowdermeister 10y agoYou are toasted. It's like asking what if I like wordpress but I don't like PHP? Can I use wordpress with Ruby?
- greenspot 10y agoI thought Bootstrap is about frontend being backend-agnostic or what do I miss?
- risratorn 10y agoI think you have some things mixed up, Bootstrap is a front-end layout framework built with a CSS preprocessor, in this case SASS. It's got nothing to do with backend. You are asking if you can use a different preprocessor, for which the answer is 'no'.
- scardine 10y agoI think the answer is "yes" for those willing to use a fork. If your favorite preprocessor is popular I bet someone already made one.
- kowdermeister 10y agoIt was just an example that it won't work, sorry for the confusion.
- scardine 10y agoYou don't have to use SCSS at all. Just fetch the compiled CSS from a CDN and use your favorite framework to generate another CSS that overrides the defaults. The alternative is to maintain a Bootstrap fork that uses Stylus instead of Sass. See https://github.com/maxmx/bootstrap-stylus https://github.com/maxmx/bootstrap-stylus
- ishaanbahal 10y agoOne might write their own grid system while waiting for bootstrap 4, a year now...
- chinathrow 10y agoTo be fair: Versions up to 4 also had a grid system.
- ishaanbahal 10y agoflexbox based grid I mean :P
- Numberwang 10y agoMaterial design is better. This project is not needed anymore.
- nailer 10y agoIf you're using flex - particularly if you're using flex by default, what does bootstrap get you, asides from putting a bunch of visual styling: <div class="row justify-content-md-center"> into your HTML?
- ZeroGravitas 10y agoAn ecosystem of attractive looking templates, devs who know how to use it, various tools that integrate or output it, examples and tutorials to learn from, code samples to re-use etc.? There's also a justification for the type of classnames you're railing against here: http://nicolasgallagher.com/about-html-semantics-front-end-architecture/ http://nicolasgallagher.com/about-html-semantics-front-end-a... I believe Bootstrap adopts many of these ideas. So it's not just a mistake, but an intentional decision as part of a different paradigm. Feel free to suggest that it's not a useful way to build websites, but don't be fooled into thinking they've accidentally broken a rule they intended to follow.
- nailer 10y agoI'd argue more developers know how to use flex than bootstrap right now. And many developers would spend additional time researching how to do things the bootstrap way. If you don't have developers and want templates, use Squarespace, bootstrap is a poor fit. I've read the article, but I still don't see why, to change the login box, I need to modify two places (HTML and SCSS) rather than one (SCSS).
- sametmax 10y agoMost dev I meet don't even know what flex is. In my last year of dev, I have seen only one code base that was using it. Everybody else was still using float, margin, etc. You are working in a bubble, the bubble of expert coders. Most dev are not expert coders, they are expert plumbers.
- ZeroGravitas 10y agoThere's a wide range between using Squarespace, and building an entirely custom website from scratch. It's a big 'ole niche that Bootstrap and other similar systems have been filling for a while. There's even a reasonably sized trend of big apps who think they're too good for Bootstrap but basically implement an internal clone of it. https://design.atlassian.com/product/components/buttons/ https://design.atlassian.com/product/components/buttons/ As to your question, if you have an actual design system in place then you can change all primary buttons on your site by only changing the SCSS, and if you want to add a new primary button, or a small button, or a small primary button etc. you can do so by only changing the HTML. And when you do need to do both, it splits some of the responsibility in ways that make the code easier to manage and develop. If it really comes down to just wanting to do stuff in one place, then there's a bigger picture that's being missed. Think about distribution of responsibility and letting junior staff add buttons, while more senior (or just those with different kinds of expertise) staff control the styleguide. If they each re-invent the wheel then there's not going to be consistency or re-use.
- wietze 10y agoBootstrap V4 introduced spacing utility classes (like a class m-t-1 to get margin-top: 1rem!important), which inspired others to create this great universal.css project: https://github.com/marmelab/universal.css https://github.com/marmelab/universal.css
- resoluteteeth 10y agoI was terrified for most of the way through that page that it was serious.
- err4nt 10y agoThe first time I saw this project I went on an emotional roller coaster from shock & horror, through to laughing until tears fell out of my eyes :)
- franciscop 10y agoDon't play with our feelings that way... Is this a joke? Of course it's a joke. Use semantic CSS class names.
- thewavelength 10y agoLaughed at this one: styleElement.appendChild(document.createTextNode(styleContent.replace(/;/g, ' !important;')));
- myf01d 10y agoBootstrap is useless except for simple static websites. I am not here to start a flame war but I think Bootstrap has no future unless for beginners and very simple projects. For jQuery based frameworks, I recommend Semantic UI.
- metaloha 10y agoI'm doing a root-level reply so it doesn't start out too buried :) Most people use Bootstrap and Foundation completely wrong. They're meant as RAD (Rapid Application Development) frameworks, not production-level frameworks. For example (using Foundation because I'm more familiar with it), you should never have a `div` with the classes `small-12 medium-6 columns`. That's what you do during prototyping. For production, your `div` will have a class like `main_cta` and in your SASS you are calling Foundation's grid mixin. Production sites shouldn't include anything not being used, which is why libraries like Foundation have discrete components. You only include the ones you need (both CSS and JS), with the assumption that you are doing your own minifying and combining or whatever.
- StevePerkins 10y agoThe thing is... I would say that UIkit is better, and there's some other guy at the bottom of this thread getting downvoted into oblivion for saying the same thing about Material Design. Momentum is a pretty powerful thing. And at the end of the day, ALL of these frameworks are pretty much limited crutches for appdevs who aren't that great with CSS. They have more in common than they have separating them.
- myf01d 10y agoWith Semantic UI, you can control every single parameter, remove useless components, and you can add/override rules without messing with/modifying its files.
- StevePerkins 10y agoYou know what else can do that? Writing your own CSS in the first place, no more complex than it needs to be. :) I tend to rank these things on a balance... of having the functionality that I'm likely to use, versus simplicity and learning curve of the functionality that's there. So I like UIkit for side projects because it has a lot of built-in components that Bootstrap makes me find external plugins for (e.g. datepicker), and doesn't have a lot of Bootstrap crap that I never use (e.g. jumbotron, wells). It looks great, doesn't have any kind of complex "build system", and takes a few hours to learn. If I wrote a webapp that turns into the next big thing, then I'd have a real web designer redo the static stuff anyway.
- k__ 10y agowhat's the size of Bootstrap4? is it smaller than 3? is it more modular? If it was half the size, or more modular, I'd be sold even without new features :)
- onion2k 10y agoDownload the bootstrap source, open /scss/bootstrap.scss, comment out the features you don't want to use, and rebuild it. Completely customisable and much smaller.
- blktiger 10y agoCouldn't you do that before with the less version of bootstrap?
- k__ 10y agoGood point. Does this integrate well with tools like Webpack? For example, if I want to use a container class, can I do something like: require('bootstrap/src/container.sass') and be done with it? I guess I would probably need to require some core sass files somewhere at the top of my application, but besides that, is it possible?
- slig 10y agoYes, it does. I'm currently using. It's a little tricky as you have to use postcss-loader as well (along with sass-loader).
- feketegy 10y agoI find that foundation's flex grid system is much more simple and powerful to use... I think bootstrap stagnated too much and they just trying to play catch-up now.
- mercer 10y agoCould you elaborate on that? I've used Foundation before, but never got to use Bootstrap, but the latter seems to be more popular so I considered using it for a future project.
- reustle 10y agoHere is the alpha 6 release blog post from a few days ago https://blog.getbootstrap.com/2017/01/06/bootstrap-4-alpha-6/ https://blog.getbootstrap.com/2017/01/06/bootstrap-4-alpha-6...
- Kiro 10y agoWhat exactly is the benefit to the grid system in Bootstrap 3? Looks the same to me.
- berry_sortoro 10y agoWell I am actually to lazy to explain it to you. If you would be truly know BS3 or are really interested then you would see the improvements right away.
- sctb 10y agoWe've banned this account for posting only uncivil or unsubstantive comments.
- berry_sortoro 10y agoOh I am banned now for "only uncivil" comments?
- rbg246 10y agoSimplified answer: Biggest one benefit is the ability to align vertically and center vertically
- rangibaby 10y agoYou can use class="col" for automatic columns. E.g. col col col-6 would be like col-xs-3 col-xs-3 col-xs-6 in BS3.
- moomin 10y agoIt may be just me, but none of my browsers actually seem to render the example grids correctly... (Chrome does better than Firefox)
- TomMarius 10y agoWhat problems are you facing? It renders correctly in my latest Chrome.
- turblety 10y agoObviously the most important question though. Will it work in IE8? *sarcasm intended, with some unfortunate seriousness
- akmittal 10y agoLet it die. Btw they dropped IE9 also >It comes at the cost of dropping IE9 support, but brings significant improvements to component layout, alignment, and sizing.
- mathw 10y agoSadly some companies still have to support IE8 for the sake of some of their... umm... ...less technologically enthusiastic customers.
- akmittal 10y agoI wish More had "Courage" to say 'we don't support IE8'
- redler 10y agoIf your work has to support "enterprise" clients, you'll find no shortage of companies still living in the smoldering compatibility crater where tens of thousands of old desktops met their demise. The coal-fired machines themselves have generally been retired by the forcing function of Microsoft's EOL policy for XP. So one might think this means the end of the scourge of IE8 and friends. Sadly, one would be wrong. These same large enterprises that clung to XP to wring every last drop out of those rickety HP desktops with 1.5 GB of RAM are now zealous implementers of Enterprise Managed IE. Typically there will be some old inventory system, or accounting adapter, or ERP plugin, or procurement system, that the company considers mission critical despite its decrepitude. That system itself is probably built with Microsoft's old development tools, and uses IE-flavored HTML, JScript, and ActiveX. Nobody knows how the system works anymore, its creators all died 75 years ago, and all documentation was lost in the great molasses flood. Rather than spend the time and money to rewrite these magic old black boxes, IT managers configure the entire company so that IE11 actually acts like IE8 (or, hell, sometimes even IE7), in a browser "compatibility mode", enabling their old legacy apps to run, mostly. These downgraded modes are mostly, but not exactly, like the versions they mimic. In effect, they are new, separate, subtly different browser compatibility targets for developers. IE8 itself at least has the advantage of a decade of the collective wisdom of millions applied to understanding its limitations. Ersatz IE via compatibility mode can be worse than the real thing, rife with ungoogleable issues that force developers to engage in primary research like it's the bad old days again. The kicker is that their end users all think they're "finally on IE11", and IT support often doesn't understand the subtleties of the EMIE situation. You'll hear "we're on IE11 now, so why does your app still look terrible and have strange JavaScript errors?". Allowing an exception so a specific application can run in native IE11 mode — if even possible — is often rejected as a "security risk". And why might it not even be possible? Some of these enterprises will run "vendor apps" inside a — yes — frame served by their terrible intranet system. The outer frameset document itself will be locked into downgraded compatibility mode, forcing the sites it contains to inherit that mode, and even do inexplicable and nearly undocumented things like silently replace the doctype of the framed application's pages. Or so I've heard.
- tannhaeuser 10y agoBS 4 has only very recently gone all-in on flexbox so what's the expectation towards a 4.0 GA release date? A major benefit of Bootstrap is that it's really well tested on all kinds of devices (something that's difficult to achieve with your own CSS). But now that it's using flexbox for its grid doesn't that mean that testing has to be restarted all over? Not that there's a need to rush it; I really appreciate Bootstrap's "it's ready when it's ready" stance. Personally I also like that the BS devs had the balls to rewrite their grid system based on flexbox this late in the development cycle, rather than hanging on to something you're not convinced of and focussing on getting a release out the door. To those criticizing Bootstrap, here are my reasons why I like Bootstrap: BS was incredibly useful for getting me back into contemporary/responsive CSS after a longer period of absence from webdev. I ended up overwriting many things, but that's why it's called "Bootstrap" after all I guess. Bootstrap is also very useful as a baseline CSS in larger projects with multiple teams developing a uniform-looking web site. And you can get a ton of themes for relatively little money (though not everything on offer is great of course). You can also contract an agency or freelance designer to make a BS theme for you, with a straightforward workflow. Also, you can get relative good and targetted StackOverflow etc. advice on your daily CSS problems. And, when BS4 finally is released, you don't have to redo your complete site to take advantage of it (or at least I hope so).
- SmellTheGlove 10y agoBootstrap is ridiculously good. It may take criticism here, because this site is naturally going to bias toward people doing things a bit more advanced/complex than what BS was intended to facilitate. But for someone like me who needed to get a professional-looking, mostly static website up and running in a weekend for a side gig and hadn't done any (and I mean any) web development since 2002, Bootstrap was just the framework.
- bopcrane 10y agoI have to agree with you, Bootstrap has been a boon for my productivity, especially prototyping. When you're looking to get a MVP off the ground ASAP, I can't think of a more useful CSS framework than Bootstrap.
- overcast 10y agoI've always built interfaces by hand, but for a recent project that is going to be heavy on the use of selecting options/button/etc, I was considering Bootstrap for the first time. However, looking at the source, and the sheer amount of "stuff" in there, I'm just not too keen on it. Is there a much lighter alternative, that satisfies quick standardized UI creation? SemanticUI i saw mentioned in here.
- oliwarner 10y agoI agree but still use Bootstrap. There's too much well-thought out stuff to ignore or attempt to reinvent. I don't include bootstrap.min.css though. I wrote a custom LESS (I'm still using v3) stylesheet to replace bootstrap.less, which pulls in just the bits I want. I also use this to customise and theme the whole thing. I also don't use Bootstrap's classes in my HTML. These are replaced in my custom version by semantic and descriptive things that work very well on a site-by-site basis for keeping markup low. And this can be kept just-about-separate-enough from Bootstrap to make upgrading it not too traumatic, as long as you stay within the major version and don't edit the original files (just override or replace them). Wrapping up just the bits of the Bootstrap JS is the harder challenge IMO but this can also be done. I have a plaintext file that lists the files (in order) that I just cat together, minimise and compress. Here's my personal blog as an example: https://thepcspy.com/ https://thepcspy.com/
- ohitsdom 10y agoYou can select which options you are going to use a download a lighter version of bootstrap. As a bonus, you can save your configuration to make downloading updates all that more simple in the future. http://getbootstrap.com/customize/ http://getbootstrap.com/customize/
- prashnts 10y agotachyons could be something you might be interested in? [0] http://tachyons.io http://tachyons.io
- SippinLean 10y agoUse the Sass source and comment out what you don't need
- notheguyouthink 10y agoFor someone who doesn't really like CSS and has little design "sense", what would be your most recommended CSS Framework? I'd like lots of built in features, and a grid/layout system that makes the most obvious sense in usage.. ie, if it invents custom terminology for what is a row or column, or perhaps has lots of "always use this class with a new row" style rules, that is stuff the developer needs to learn. Lower barrier to entry means it's easier to pick up and "get shit done" for side projects/etc. Less looking at documentation. At the moment i'm plain (non theme'd) SemanticUI. The UX/etc makes a lot of sense, the only downside is i'm using the plain CSS so i don't get a theme - but that's not a big deal. I can always add a separate build step for the css.
- pmontra 10y agoBootstrap served me well. I'm a developer. I'm OK with CSS but I have little design "sense": I can tell if something is ugly or beautiful but I can't make something beautiful. Ugly yes. That's where Bootstrap came into help: it gave me reasonable defaults that customers without designers are OK with. Customers with designers often end up with a custom Bootstrap theme. I can't remember the last time a designer sent me a totally custom layout not based on some framework, usually Bootstrap.
- notheguyouthink 10y agoI'm really liking SemanticUI, but i'm thinking of switching to BootstrapV4 in the near future. The main reason being that Bootstrap has such a long history of tons of developers using it. Lots of devs mean lots of themes, documentation, etcetc. My only concern is going with V3 or V4. I'd like to use V4, but that puts me at a lack of themes/etc, which is basically the same spot i'm at with semanticUI.. feels like a no gain then.
- kej 10y agoI've really liked Picnic CSS [1]. The main selling point for me is that it styles most elements by default without you having to add redundant classes everywhere. Instead of Bootstrap's <button class="btn btn-default btn-hover"> you just do <button> and Picnic makes it look nice. It also leaves your HTML uncluttered if you do need to move up to something like Bootstrap later on. [1] http://picnicss.com/ http://picnicss.com/
- franciscop 10y agoIf you want to try a flexbox grid system today you can use Picnic CSS, we've been including it for a couple of years now: http://picnicss.com/documentation#grids http://picnicss.com/documentation#grids The syntax is slightly different from Bootstrap though
- swanson 10y agoPerhaps I'm a "bad web citizen" for not wanting to go mobile first with responsive design, but most of the work I've done over the past 5 years for clients has been "desktop first", fixed-width web applications (with native mobile apps or separated mobile views if applicable). It's hard to do responsive right and it costs real time and money for what is, sometimes, only a theoretical use-case. And for that, the Bootstrap grid has become slightly worse ever since v2 as the media-query stuff gets more and more exposed on the public API.
- simonw 10y agoCheck your analytics. Many sites are now seeing more traffic from mobile devices than desktop devices - the switchover for your sites may have happened in the last six months. Desktop first is making less and less sense.
- scotchio 10y agoFlexbox is great but auto adjusting/sizing columns are a real PITA if responsiveness (@meda query) is tied to the viewport and not the parent container element. Would be really cool if Element Queries were a normal thing. http://elementqueries.com/ http://elementqueries.com/
- tedmiston 10y agoSuggestion: Change headline from "Bootstrap 4.0 includes a powerful mobile-first flexbox grid system" to "Bootstrap v4a6 uses flexbox by default". I feel this much better conveys the meaningful change that HN is discussing here and that's otherwise not mentioned clearly on the current link to the docs (vs the blog post linked by another user below).
- intrasight 10y agoI will shortly be starting a new project and was hoping to use Bootstrap 4. The problem is that a big component of the Bootstrap value proposition is the themes and controls - both commercial and open source. And the frameworks are built on top of these themes and controls. It will likely be many months before this long dependency chain has migrated to V4.
- saosebastiao 10y agoDoes 4.0 still depend on jquery? I've wanted to use bootstrap for a while, but every time I mix jquery with react, I end up with a buggy shit sandwich.
- samch 10y agoYes, it does. In the Grunt config file they use to build the package, they specify jQuery version >= 1.9.1 and less than 4.0.0. Source: https://github.com/twbs/bootstrap/blob/v4-dev/Gruntfile.js#L46 https://github.com/twbs/bootstrap/blob/v4-dev/Gruntfile.js#L...
- WhitneyLand 10y agoIs it a good choice to use this for layout in a React web app? I'm just now ramping up on React and have noticed two schools of thought: 1) Flexbox abstractions are great and make things easier 2) Flexbox abstractions are bad because they just hide the real flexbox and prevent you from learning an important widespread standard. There are React flexbox components out there with both of these viewpoints. Personally I'd like to find out whatever is most canonical for React, so my code can be widely accepted.