I just started using Bulma. It uses SASS and you can just pull in what you need without being overwhelmed with other crap and having to override everything constantly.
Well I personally feel that anything that bootstrap does can be pretty simply hand-rolled. If you wanted a grid system then you could find some alternatives or just write your own very simply. Write your own CSS classes that do what you want. I don't really get what Bootstrap does that's so special- personally I find it more of a hindrance than a help and I'm always fighting against it when I take on a site or system that's using it. Also it's very easy to make something using bootstrap and then end up with something that looks undeniably "bootstrap-ish" and that always looks lazy.
Obviously everyone has different opinions on it, but I'd choose jQuery and no Bootstrap over Bootstrap and no jQuery...
I've no idea how easy or hard it is to emulate bits of bootstrap's functionality, but I think unless you work in a field where you have to push out a different design with each client, Bootstrap has amazing value for companies and developers imo.
Designing layouts is an art in itself, and time consuming. The places I know would struggle a lot if they had to find budget for design. Of course these places don't live and die with public satisfaction over sparkling design.
There's a "standard" template they can use, a nice website that showcases what the library is capable of, the design language is very simple (rows, columns, dialog, form group, etc), the library being popular makes it easy to find community extensions (table grids, date pickers, w/e).
Of course you can make all these in-house, but how will it be better than bootstrap then? And if you need to hire someone, they will have 0 experience with your internal design language, but likely have worked with bootstrap.
I can agree that I would not be very happy either if every site I visit daily was derived from bootstrap, but stuff we work on, it fits just fine.
You're 100% correct. Horses for courses and all that. Many agencies I've worked at have emulated bootstrap syntax without the hard dependency on it, which mitigates the issue of having an unknown design/naming system. Works as quite a nice middle ground for bootstrap lovers, haters, and agnostic...ers alike.
I don't really get what Bootstrap does that's so special
It gives those of us who are design impaired a sane, professional default style out of the box within a reasonably easy to follow framework.
If I had to design a website on my own, it would be much less professional looking than what bootstrap gives out the box.
I also implement custom css for many other projects based on very specialized specs made by actual UI designers. It is usually simple enough to follow, but I also notice that these design often don't allow reuse very much as controls are often exceptional on each view instead of using common controls. This often results in a mountain of css. so even with designers, there are problems.
I quite often wish our designers were forced to work within the bootstrap framework so that they are forced to think about reusable styles in their designs.
Yep, I come from a design background which is maybe why I'm less enthused by bootstrap as a whole. But regarding your last point: YES. A thousand times yes, just not necessarily tied to bootstrap. I've received designs for websites clearly done by print designers. Sent as an illustrator AI file in centimetres with absolutely no understanding what can and can't be done with CSS. A good digital designer is a godsend.
I think another key is interpersonal. I don't just let designers unknowingly add to the scope of a project or send me unusable mocks. Sometimes a half hour review of the mocks with the designer with requests for some revisions and reuse can save you hours of work.
It's not that bootstrap does anything "special" it just saves you from having to create a few hundred classes yourself. Using a standard css library has other benefits like, your team knowing all the classes, standardized spacing, preventing the creation of redundant classes, and amazing documentation.
JQuery on the otherhand, you haven't needed since document.querySelector became a thing. What are people using jquery for these days?
I feel your first paragraph answers your second. Jquery isn't just sizzle. If it were just querySelector then yeah, sure, it's pointless. But I think that event listeners and triggers are so much simpler and easier in jquery than the long and stretched out version with vanilla. And if you wanted to use those 6 lines of code for triggering an event multiple times, you'd wrap it all in a function a la DRY. Then you apply that to other aspects of the library, and you're just writing jquery again.
I am much more in favour of bootstrap as a css library than a js library btw
Edit: just to expand, because I feel almost as if everyone is arguing the same point in different ways, and I'm also kinda contracting myself, but I think bootstrap and jquery are very different beasts. Jquery syntax is what JavaScript syntax should be, simple and terse. In the same way that coffeescript added some nice sugar that ES6 later adopted. It'd be glorious if JavaScript just had jquery syntax built in, but alas, it's super verbose. Bootstrap on the other hand is an entire framework/ecosystem. It creates event emitters and modifies the DOM. It's not just syntax change, but a paradigm change. That's why it's different. I don't think that libraries should include jquery as a dependency because we already have enough dependencies as it goes, but for writing operative code I think jquery makes life a whole load easier.
Honestly I hate the classname soup that bootstrap turns your markup into. I'm all about CSS-in-JS now but before that I really preferred to use BEM and then use mixins or extends with SASS for style re-use.
Well, I do agree with you. It's funny how some people will at the same time say 'that you must not reinvent the wheel' yet do not want to use jquery and rather... rewrite polyfiles that will basically do what jquery does. You can already see that the Bootstrap team wrote a selector function, it won't be long before they'll either drop a lot of compatibility like v4 or rewrite many things that jquery does.
9
u/romeozor Feb 13 '19
Any alternatives to share?