Earlier quoted context omitted.
It is not just `display: grid` that is replacing the layout. Now we also have interactive elements in the HTML spec[1] like ` ` and ` `. We also have custom elements making an all in solution like bootstrap less desirable for everything except quick prototyping. [1]: https://html.spec.whatwg.org/multipage/interactive-elements....
Dialog is nice if you only support Chrome and Firefox. Maybe when Edge turns to Chromium it won't be as bad, but the truth is that Bootstrap is accessible in most if not all modern browsers, but the new HTML5 elements are not.
Bootstrap 5 will remove jQuery as a dependency
101–110 of 333 posts
Re: Bootstrap 5 will remove jQuery as a dependency
#102This is funny. I was thinking that Bootstrap should be suffering the same fate as jquery. That is, it’s relevance should be decreasing as web technology catches on. I see no reason for using a third party layout system now that CSS has `display: flex;` and `display: grid;`. As for modals and menus, HTML has ` ` and ` `. And for reusable components, we have custom elements, that you can either implement your self (not…
Re: Bootstrap 5 will remove jQuery as a dependency
#103Earlier quoted context omitted.
For one, fetch() doesn’t support progress reporting.
It does. The fetch response object exposes a `ReadableStream` through the `body` property, which you can loop through with a `for await ... of` loop. On each iteration, simply update your progress.
[1]:https://tejasq.github.io/basically-streams/examples/fetch/
Re: Bootstrap 5 will remove jQuery as a dependency
#104This is funny. I was thinking that Bootstrap should be suffering the same fate as jquery. That is, it’s relevance should be decreasing as web technology catches on. I see no reason for using a third party layout system now that CSS has `display: flex;` and `display: grid;`. As for modals and menus, HTML has ` ` and ` `. And for reusable components, we have custom elements, that you can either implement your self (not…
My reason for using bootstrap is that it looks better than any UI I design from scratch.
Re: Bootstrap 5 will remove jQuery as a dependency
#105I still think that Bootstrap has it's uses, but incremental updates at this point seem to be harder than rebooting the whole thing writing everything from scratch, maybe even using things like CSS Grid and friends in the background. All the best to the current maintainers in their pretty hard task!
Re: Bootstrap 5 will remove jQuery as a dependency
#106Do you use Bootstrap? If yes, what version? If not, why not? Which alternative do you use?
Re: Bootstrap 5 will remove jQuery as a dependency
#107Re: Bootstrap 5 will remove jQuery as a dependency
#108Can someone explain why if you like jquery and you're used to it why is it a bad idea or it's not but just personal preference at this point?
Not a total expert, but as a fan of JQuery I've read the arguments. JQuery modifies the DOM at runtime, this means lots of node traversals and redrawings on the fly, which make it nearly impossible for the Javascript engine to optimize anything. More modern frameworks in general use the concept of a Shadow DOM: they keep their own representation of the DOM internally and only send the full frame to the engine for ren…
Re: Bootstrap 5 will remove jQuery as a dependency
#109Re: Bootstrap 5 will remove jQuery as a dependency
#110Earlier quoted context omitted.
Legacy bootstrap did ship with considerably fat set of dependencies - jQuery, popper, etc. Compare that to Bulma or something more modern, it ships without these dependencies. When the world is moving towards css-in-js and other aggressive ways of trimming unwanted code, removing dependencies is a good move by Bootstrap
Only part of the world is moving to css-in-js. I won't be on the boat leaving for that destination.