knockout
Angular
Our great sponsors
knockout | Angular | |
---|---|---|
27 | 699 | |
10,412 | 94,541 | |
0.2% | 0.9% | |
0.0 | 10.0 | |
over 1 year ago | about 21 hours ago | |
JavaScript | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
knockout
- Do You Remember Knockoutjs?
-
A First Look at HTMX and How it Compares to React
The approach is not new, essentially a variation of Knockout, Alpine, and similar "JS-in-HTML" approaches.
-
The Best UI Libraries for Cross-Platform Apps with Tauri
SolidJS and Tauri form another potent combination for creating performant, lightweight, and secure experiences. SolidJS is a reactive UI library that is similar to Svelte in the way it compiles away reactivity and updates the DOM directly, but it also incorporates a fine-grained reactivity system reminiscent of libraries like Marko, Knockout, and MobX.
-
Why are signals still not so popular?
People act like Signals are a new discovery. KnockoutJS was using them 13 years ago and other libraries used them before that.
-
What is KnockoutJS and how is it relevant in Magento 2?
Knockout JS is a Javascript library which uses the MVVM pattern to bind data to certain DOM elements. Within Magento, we usually define a View-Model (which is a .js file) and a Template (which is a .html file), and the data in the template file is bound to the view-model, meaning whenever the data in the view-model changes, the template file changes too.
-
Alpine.js
I still use Knockout[0] for almost an identical experience.
0: https://knockoutjs.com/
-
Concepts behind modern frameworks
One of the first uses of this concept was in knockout, which used the same function with and without arguments for write/read access.
-
Build a Simple App with Xata, Cloudinary, and Knockoutjs
To do this, use a Javascript library called knockout.js
-
"Databinding" in MVC
You could use a JavaScript framework called KnockoutJS which uses the MVVM pattern.
-
Magento alternative: How it compares with Medusa, a JavaScript-based ecommerce platform
Magento is built with PHP. A good understanding of PHP is generally enough to perform different development tasks such as building modules. However, developers often need to work with libraries like Knockout.js and Less when developing themes.
Angular
-
Angular Signals, Reactive Context, and Dynamic Dependency Tracking
/** * https://github.com/angular/angular/blob/75a186e321cb417685b2f13e9961906fc0aed36c/packages/core/src/render3/reactivity/untracked.ts#L15 * * packages/core/src/render3/reactivity/untracked.ts * **/ export function untracked(nonReactiveReadsFn: () => T): T { const prevConsumer = setActiveConsumer(null); try { return nonReactiveReadsFn(); } finally { setActiveConsumer(prevConsumer); } }
- Episode 24/15: Wiz behind the curtain, Copilot in VSCode
-
Always unsubscribe. No exceptions. Debate closed.
source: https://github.com/angular/angular/issues/46542
-
Angular Signals: Best Practices
Besides the dangers, mentioned by Angular docs (infinite loops, change detection errors), there is another thing, that might be quite nasty: effects are executed in a reactive context, and any code you call in effect, will be executed in a reactive context. If that code reads some signals, they will be added as dependencies to your effect. Here Alex Rickabaugh explains the details.
-
Understanding control flow syntax in Angular 17
In June 2023, the Angular team raised a new RFC to implement control flow syntaxes within Angular. They gave the following rationale for introducing control flow syntax:
- Episode 24/09: Testing without TestBed, SSR & Hydration
-
Preparing our Code for Zoneless Angular
For scheduling, I use awesome code I found in the Angular source code.
-
β° Itβs time to talk about Import Map, Micro Frontend, and Nx Monorepo
Just to give you more context, I led the migration of several AngularJS applications to the newer Angular Framework. My client finally decided to make that move following the AngularJS deprecation announcement (stay up to date please π)οΈ.
-
Conventional commit specification
Link β angular/CONTRIBUTING.md
-
Angular Control Flow: the complete guide
Angular v17 was released some months ago with a ton of new features, a brand new logo and the new blog angular.dev.
What are some alternatives?
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
Next.js - The React Framework
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
qwik - Instant-loading web apps, without effort
Prism - Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Xamarin Forms, and Uno / Win UI Applications..
SvelteKit - web development, streamlined
rivets - Lightweight and powerful data binding.
Svelte - Cybernetically enhanced web apps
solid - A declarative, efficient, and flexible JavaScript library for building user interfaces.
Aurelia 1 - The Aurelia 1 framework entry point, bringing together all the required sub-modules of Aurelia.
lit - Lit is a simple library for building fast, lightweight web components.