until-destroy
π¦ RxJS operator that unsubscribe from observables on destroy (by ngneat)
Angular
Deliver web apps with confidence π (by angular)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
until-destroy | Angular | |
---|---|---|
18 | 699 | |
1,725 | 94,599 | |
0.7% | 0.3% | |
4.6 | 10.0 | |
about 1 month ago | about 16 hours ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
until-destroy
Posts with mentions or reviews of until-destroy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-13.
- Migrating From until-destroy To Angular takeUntilDestroyed
-
Angular 16 - takeUntilDestroyed() operator
Nice! I didn't know about this. I was using the `untilDestroyed` operator from this package, which does exactly the same thing: https://github.com/ngneat/until-destroy
-
The new #Angular "takeUntilDestroyed" operator is not only safe, it will also throw an error to discourage bad design
Very cool. Iβve always used this library to deal with it in the past: https://github.com/ngneat/until-destroy
-
You don't want a BaseComponent in your app
You can find the code of the UntilDestroy decorator by this link. All it does is patches the component's ngOnDestroy with unsubscription logic and call the original method at the end.
-
Does anyone use until-destroy https://github.com/ngneat/until-destroy with angular apps for production?
Hello angular community, I saw in some posts talking about custom decorators to manage subscriptions with components/ services I'm thinking about implementing our own custom decorator or use this package:https://github.com/ngneat/until-destroy
-
Angular testing in 2022
Btw, you should look at https://github.com/ngneat/until-destroy
-
Oh boy, here comes a long week of debugging to find the memory leak
https://github.com/ngneat/until-destroy may be helpful?
- Places to handle unsubscribe
-
Looking for guide\book about best practice for state managing
Akita is maintained by Datorama, they do a lot of great work surrounding Angular. Netanel Basal is part of that group, check him out on Medium.
- Signed a contract for an Angular position, TL contact me today saying the project will be developed with React. Throw your best tips at me!
Angular
Posts with mentions or reviews of Angular.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-16.
-
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?
When comparing until-destroy and Angular you can also consider the following projects:
rx-query
Next.js - The React Framework
angular-scroll-to-top - Angular application to demonstrate auto-scroll to top
qwik - Instant-loading web apps, without effort
ngx-charts - :bar_chart: Declarative Charting Framework for Angular
SvelteKit - web development, streamlined
nx - Smart Monorepos Β· Fast CI
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
rxweb - Tons of extensively featured packages for Angular, VUE and React Projects
solid - A declarative, efficient, and flexible JavaScript library for building user interfaces.
spectator - π¦ π A Powerful Tool to Simplify Your Angular Tests
lit - Lit is a simple library for building fast, lightweight web components.