Live data from Hacker News

The Future of JQuery UI and JQuery Mobile

blog.jqueryui.com

41–50 of 97 posts

Re: The Future of JQuery UI and JQuery Mobile

#41
post #39

Earlier quoted context omitted.

Unfortunately, querySelectorAll returns a NodeList, not an Array. So you cannot use forEach() on it.

NodeList also implements forEach: https://developer.mozilla.org/en-US/docs/Web/API/NodeList/fo...

Not in Edge though.

Re: The Future of JQuery UI and JQuery Mobile

#42
post #17

Seems like most of the comments on here pertain to the relevance of jQuery, rather than jQuery UI and jQuery Mobile. Sure most sites still use jQuery, but do very many use jQuery UI anymore? jQuery Mobile? I've never seen a project use jQuery Mobile.

I have used jQuery UI for its "sortable" interaction. It did the job. I would use it again. Is there any alternative anyway?

Re: The Future of JQuery UI and JQuery Mobile

#43

jQuery is still quite relevant and helpful. Despite the hype with newer libraries, jQuery is used on 73% of _all_ websites. https://w3techs.com/technologies/overview/javascript_library... I often tell myself, ok, I'm going to just use vanilla JS for this one, but compared to jQuery, it's way too verbose. Try doing $('.my-elements').show() in vanilla js. The problem is the jQuery foundation has become too bureaucratic…

whenever i feel the need for jquery these days, i typically reach for the much smaller, faster, ie11+ https://github.com/franciscop/umbrella

nice. thanks. despite the plainjs appeal in practice i still find that using jquery is faster, easier, and safer.

the parts of it i want are very simple though. i can (and have) written my own replacements, but I don't want to throw my own one-off replacement into the projects I use, so having some kind of community library is much better.

Re: The Future of JQuery UI and JQuery Mobile

#44
post #39

Earlier quoted context omitted.

NodeList also implements forEach: https://developer.mozilla.org/en-US/docs/Web/API/NodeList/fo...

Not in Edge though.

The page I linked has a compatibility chart that says Edge 16 has it (no idea if that's a planned release, haven't ever used Edge).

Re: The Future of JQuery UI and JQuery Mobile

#45
post #17

Seems like most of the comments on here pertain to the relevance of jQuery, rather than jQuery UI and jQuery Mobile. Sure most sites still use jQuery, but do very many use jQuery UI anymore? jQuery Mobile? I've never seen a project use jQuery Mobile.

I tried to use jQuery Mobile for a project once many years ago. It was a disaster, I ended up rewriting the entire thing

I had the exact same experience. Performance on Android was horrible!

Re: The Future of JQuery UI and JQuery Mobile

#46
Can't wait for Matrix to become the defacto tool to connect teams, instead of dropping IRC for Slack, they will drop IRC for Matrix. It makes me sad to see JQuery moving to Slack when I think they would be better off moving to Matrix instead. I hope they at least considered Matrix.

Re: The Future of JQuery UI and JQuery Mobile

#47
post #27

People in the comment threads seem to be confusing jQuery UI with jQuery. jQuery UI is collection of interactions, effects, and widgets built on the more ubiquitous jQuery library.

jQuery UI was also tightly tied to Filament Group so it was a commercial product looking to capitalize on the jQuery name. That whole think was not so successful and jQuery UI was never that great. 5+ years ago it was bloated and buggy and it has not seen much development since.

Re: The Future of JQuery UI and JQuery Mobile

#48

jQuery is still quite relevant and helpful. Despite the hype with newer libraries, jQuery is used on 73% of _all_ websites. https://w3techs.com/technologies/overview/javascript_library... I often tell myself, ok, I'm going to just use vanilla JS for this one, but compared to jQuery, it's way too verbose. Try doing $('.my-elements').show() in vanilla js. The problem is the jQuery foundation has become too bureaucratic…

That's actually a good example. My gut feeling was simply to write the following. document.getElementsByClassName("my-class")[0].style.display = 'block'; The PlainJS site mentions that it's not quite that simple and suggests writing your own show() and hide() functions if you're avoiding jQuery. https://plainjs.com/javascript/effects/hide-or-show-an-eleme...

This comment is actually a fantastic example of why jQuery is so popular.

Missing:

Re: The Future of JQuery UI and JQuery Mobile

#49
I’ve heavily used jqueryUI and can’t thanks the team enough for all the work they done during those years.

But when I opened the blog post on my iPhone and got only a small column, around the quarter of the screen, with content, I thought about how ironic it was, regarding the jquery mobile topic.

Re: The Future of JQuery UI and JQuery Mobile

#50
jQuery UI and jQuery Mobile are deprecated. Take in mind, it comes from an age before HTML 5 became set in stone. Browsers weren't caught up yet. JavaScript libraries weren't plentiful and mature as they are now. CSS frameworks like bootstrap also didn't exist until years later.

And there was more optimism toward the concept of creating a widget toolkit and a webview mobile app. And while to an extent - we embrace that now in some form - it didn't work so well the first go around [1]. Media queries becoming a normal practice and CSS frameworks made jQuery Mobile feel clunky. Heavy duty mobile apps went native - and I can't know where they are now.

For jQuery UI, over time, the theming got a bit old. And stuff like "Buttons" (https://jqueryui.com/button/), you can already get via CSS. Most CSS frameworks, for that matter, do a lot of the widgets with far less JS, if any at all.

I'll miss them. They were a stepping stone in getting us to where we are now.

[1] https://techcrunch.com/2012/09/11/mark-zuckerberg-our-bigges...

Post reply on HN