Live data from Hacker News

The Future of JQuery UI and JQuery Mobile

blog.jqueryui.com

81–90 of 97 posts

Re: The Future of JQuery UI and JQuery Mobile

#81

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.

I would sugest they pick another name because it is hard to find them with google. A name like TeamMatrix or MatrixTeam might be better.

Re: The Future of JQuery UI and JQuery Mobile

#82

Earlier quoted context omitted.

Array.from(document.querySelectorAll('.myclass')) .forEach(el => el.style.display = 'block')

Though ie11 doesn't have Array.from()

Hrmmm... maybe someone should make a library that would smooth over browser differences and provide a consistent element selection syntax? Call it JavascriptSelection, or jSelection?

Re: The Future of JQuery UI and JQuery Mobile

#83
post #74

Earlier quoted context omitted.

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.

Filament Group was a sponsor but the project was not "tightly tied" to the company. I believe that's a bit of FUD right there.

Or a mistake, due to successful sponsorship. No need to assume the worst.

Re: The Future of JQuery UI and JQuery Mobile

#84
post #9

The slack url in this post overflows the text and zooms the page out on my phone making for an apropos blog reading experience about the future of jQuery mobile. Photo here https://twitter.com/potench/status/943950784592363520

Bahahaha

Can you please not post unsubstantive comments to HN? We eventually ban accounts that do this.

Re: The Future of JQuery UI and JQuery Mobile

#86

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.

I've never heard of Matrix, but it looks like this is the project: https://matrix.org

Re: The Future of JQuery UI and JQuery Mobile

#88
post #82

Earlier quoted context omitted.

Though ie11 doesn't have Array.from()

Hrmmm... maybe someone should make a library that would smooth over browser differences and provide a consistent element selection syntax? Call it JavascriptSelection, or jSelection?

imho 'JavascriptQuery' or 'jQuery' sounds better, oh wait...

Re: The Future of JQuery UI and JQuery Mobile

#89
post #44

Earlier quoted context omitted.

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).

You can use Array.prototype.forEach.call(nodelist, fn), or Arrays.from(nodelist).forEach

Tested in IE11, document.documentMode===11

  Array.prototype.forEach.call(document.querySelectorAll('div'), console.log)
seams to work

Re: The Future of JQuery UI and JQuery Mobile

#90

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...

Unfortunately, document.getElementsByClassName isn't universally supported[0], so even if you wanted to do it that way, it still wouldn't be that easy. Never is.

[0]https://caniuse.com/#feat=getelementsbyclassname

Post reply on HN