until-destroy
spectator
until-destroy | spectator | |
---|---|---|
18 | 14 | |
1,725 | 2,036 | |
0.7% | 0.4% | |
4.6 | 6.9 | |
about 1 month ago | 5 days 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.
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!
spectator
-
Informal AMA: Angular Signals RFC
Is the Angular team aware of NG Mocks and NG Spectator?
-
Testing angular course?
I tried a couple of courses several years ago but honestly didn't find them very helpful. (That was several years ago, so things may have changed since then.) What I did find immensely helpful was installing @ngneat/spectator and reading over its documentation. Its APIs are so much simpler and more ergonomic that it didn't take long to memorize the workflow and get to be productive with it.
-
Does anyone use spectator(https://github.com/ngneat/spectator) as a tool for unit tests with Angular?
Does anyone use spectator(https://github.com/ngneat/spectator) as a tool for unit tests with Angular
-
Ng-News: Episode 22/44
ngneat.github.io
-
Unit tests - how I hate them
Follow https://testing-angular.com/. I use https://github.com/ngneat/spectator instead of Angular weird test boilerplate
-
Is Unit Testing in Angular overrated?
If your looking for a way to make testing simpler check out https://github.com/ngneat/spectator
- Angular testing in 2022
-
7 Costly Mistakes That One Needs to Avoid in Angular Test Automation
I've had huge success using spectator https://github.com/ngneat/spectator
-
Spec file "Cannot read property of 'subscribe' of undefined"
Another possibility is to look into Spectator https://github.com/ngneat/spectator. In Spectator, you can add mocks with a simple array. I have a blog series on it here https://medium.com/ngconf/introduction-to-spectator-4d03edf514dd. The next part talking about how to mock observables should be published soon.
-
Codebase that shows how Angular should be done?
I have been reading the spectator code quite a bit. "GitHub - ngneat/spectator: ๐ฆ ๐ A Powerful Tool to Simplify Your Angular Tests" https://github.com/ngneat/spectator
What are some alternatives?
rx-query
ng-mocks - Angular testing library for mocking components, directives, pipes, services and facilitating TestBed setup
angular-scroll-to-top - Angular application to demonstrate auto-scroll to top
angular-testing-library - ๐ Simple and complete Angular testing utilities that encourage good testing practices
ngx-charts - :bar_chart: Declarative Charting Framework for Angular
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
nx - Smart Monorepos ยท Fast CI
generator-ngx-rocket - :rocket: Extensible Angular 14+ enterprise-grade project generator
rxweb - Tons of extensively featured packages for Angular, VUE and React Projects
angular-module-teardown-options - Angular module teardown options for testing.
angular-spotify - Spotify client built with Angular 15, Nx Workspace, ngrx, TailwindCSS and ng-zorro
angular-realworld-example-app - Exemplary real world application built with Angular