Live data from Hacker News

jQuery Core: Migrate from AMD to ES modules

github.com

1–10 of 18 posts

Re: jQuery Core: Migrate from AMD to ES modules

#4

Does anyone know if there is any effort to move jQuery development towards using TypeScript or something similar? For some reason I had assumed they probably already were.

I might sound offensive but I would rather save the TypeScript ‘greenfield’ ecosystem from jQuery. And I used jQ a lot in the past but I think the glory days are gone.

Re: jQuery Core: Migrate from AMD to ES modules

#5

Does anyone know if there is any effort to move jQuery development towards using TypeScript or something similar? For some reason I had assumed they probably already were.

Some of jQuery APIs wouldn't be that easy to convert to TS internally, we'd have to have lots of casting and most likely file size would suffer and that's one thing we care a lot about in the jQuery team. Plus, that would be a barrier for some contributors.

The @types/jquery package is maintained quite well so TS users can consume a typed jQuery anyway.

So, no plans to switch to TypeScript (or to ES6+ with the exception for imports) for now.

Re: jQuery Core: Migrate from AMD to ES modules

#6
post #4

Does anyone know if there is any effort to move jQuery development towards using TypeScript or something similar? For some reason I had assumed they probably already were.

I might sound offensive but I would rather save the TypeScript ‘greenfield’ ecosystem from jQuery. And I used jQ a lot in the past but I think the glory days are gone.

It does not sound offensive, it sounds stupid.

Re: jQuery Core: Migrate from AMD to ES modules

#8
post #6
post #4

Earlier quoted context omitted.

I might sound offensive but I would rather save the TypeScript ‘greenfield’ ecosystem from jQuery. And I used jQ a lot in the past but I think the glory days are gone.

It does not sound offensive, it sounds stupid.

That's fine, I'll take that my point stands still though.

Re: jQuery Core: Migrate from AMD to ES modules

#9
post #4

Does anyone know if there is any effort to move jQuery development towards using TypeScript or something similar? For some reason I had assumed they probably already were.

I might sound offensive but I would rather save the TypeScript ‘greenfield’ ecosystem from jQuery. And I used jQ a lot in the past but I think the glory days are gone.

But that makes no sense, as there are excellent typings for jQuery that Typescript users can use without a barrier. The question was about the language used to develop jQuery, which in this case would not matter for the end-user (save for file-size).

Re: jQuery Core: Migrate from AMD to ES modules

#10
post #8
post #6

Earlier quoted context omitted.

It does not sound offensive, it sounds stupid.

That's fine, I'll take that my point stands still though.

People bashing on jquery for that "points" never understood why jquery is even here to stay for at least 2 more years.
Post reply on HN