ng-simple-state
until-destroy
ng-simple-state | until-destroy | |
---|---|---|
1 | 18 | |
38 | 1,721 | |
- | 1.2% | |
7.6 | 4.6 | |
4 months ago | about 1 month ago | |
TypeScript | TypeScript | |
MIT License | 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.
ng-simple-state
-
Simple state management in Angular with only Services and RxJS
Ok, I understod. I use it just for retrive the full current state (https://github.com/nigrosimone/ng-simple-state/blob/main/projects/ng-simple-state/src/lib/ng-simple-state-base-store.ts#L119) and change the state with the provided partial state (https://github.com/nigrosimone/ng-simple-state/blob/main/projects/ng-simple-state/src/lib/ng-simple-state-base-store.ts#L125) .
until-destroy
- 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!
What are some alternatives?
mini-rx-store - MiniRx - The reactive state management platform
rx-query
angular-scroll-to-top - Angular application to demonstrate auto-scroll to top
ngx-charts - :bar_chart: Declarative Charting Framework for Angular
nx - Smart Monorepos ยท Fast CI
rxweb - Tons of extensively featured packages for Angular, VUE and React Projects
spectator - ๐ฆ ๐ A Powerful Tool to Simplify Your Angular Tests
angular-spotify - Spotify client built with Angular 15, Nx Workspace, ngrx, TailwindCSS and ng-zorro
ngx-componentdestroyed - Unsubscribe from Observables in Angular Components
eslint-plugin-rxjs - ESLint rules for RxJS
ng-rest - Angular module representing rest services - https://ressurectit.github.io/#/content/rest
rx-angular - Reactive Extensions for Angular.