Re:Bootstrap 5 will remove jQuery as a dependency
by bendotero on Tuesday February 12, 2019 @04:27PM
(#19147705)
I'm not a big fan of bootstrap but it does a heck of a lot more than just grid layouts. You can't just easily replace the components (modals, accordions, buttons, etc) with CSS grid.
[ Parent
| on HN ]
Re:Bootstrap 5 will remove jQuery as a dependency
by runarberg on Tuesday February 12, 2019 @04:50PM
(#19147921)
It is not just `display: grid` that is replacing the layout. Now we also have interactive elements in the HTML spec[1] like `<dialog>` and `<details>`. 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....
Re:Bootstrap 5 will remove jQuery as a dependency
by ebiester on Tuesday February 12, 2019 @05:13PM
(#19148150)
So, where's the equivalent one stop shop for someone building an admin interface using these new features? Don't think uber.com - think admin.startup.com .
(Personally, I'd rather they just build it in Lazarus, but people have forgotten about building desktop apps.)
Re:Bootstrap 5 will remove jQuery as a dependency
by radicalriddler on Tuesday February 12, 2019 @05:00PM
(#19148026)
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.
Re:Bootstrap 5 will remove jQuery as a dependency
by runarberg on Tuesday February 12, 2019 @05:24PM
(#19148263)
You can always drop in a polyfill[1], and when browser support picks up, you can remove it from your dependencies. That is what people used to do when they decided to omit jquery in favor of native web APIs a few years back.