Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plan of support for knockout.js #2602

Open
jaredtait opened this issue Nov 10, 2022 · 4 comments
Open

Plan of support for knockout.js #2602

jaredtait opened this issue Nov 10, 2022 · 4 comments

Comments

@jaredtait
Copy link

This is more of a tech-audit issue than a functional issue: What sort of timeline do the contributors to knockout.js expect to support it?

I ask because the issues are not readily adjudicated and we are a few months away from the 10 year anniversary of an issue of an unsupported dependency: #788

@webketje
Copy link

webketje commented Nov 16, 2022

At time of writing:

  • Last NPM publish: 3 years ago
  • Last commit to master: 1 year ago

So I would say its support has already expired.
The original selling points of Knockout: (2-way) data-binding has been demonized to such an extent by "thought-leaders" (React etc) that it is (wrongly) considered an anti-pattern. Componentisation is better done by newer frameworks, or even just templating libs. Observables have better alternative stand-alone libraries like flyd streams. There is literally nothing left that Knockout does better.

Taking a cursory look at issues will make apparent to anyone that there are a lot of inconsistencies and serious performance flaws.
Maintainers should at least publish a README.md and website update that Knockout is no longer actively developed and instead in "maintenance mode", like momentJS did: https://momentjs.com/

Considering using Knockout.js in your project?
There may be better modern alternatives.

@jaredtait
Copy link
Author

Thanks @webketje for the thoughtful response. I agree updating the readme.md would be wise as well as marking the package feeds as deprecated for tech audit.

Most teams have been using knockout for observables. For now, I will be guiding teams away from using knockout.js in all new features with a strong recommendation towards replacing knockout entirely.

@QDCSLG
Copy link

QDCSLG commented Nov 16, 2022

My team has been through the same process of evaluating the future of knockout as a library in our projects. We never had any technical issues with the library itself. Productivity is always great due to the elegant design of knockout.

However, due to the age of the library, we did our due diligence to find a replacement. I would like to mention solidjs as one of the better alternatives to knockout.

According to @ryansolid Ryan Carniato - the author of solidjs on this article

My library Solid is like a modern re-interpretation of Knockout.

solidjs rank consistently on top on majority of the benchmarks.

Thanks!

@adrienne
Copy link

It looks as though they're steering people to TKO as a replacement: https://github.com/knockout/tko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants