Wow Amazing. Great talk. I will play with Angular Ivy in these days.
@EliranEliasy5 жыл бұрын
Thank you :)
@jasonc62419922 жыл бұрын
Is this objectively better than creating BaseComponent with an ngDestroy cleanup function and extending it to each component that has a subscription?
@abhinavs24842 жыл бұрын
Removing NgModules is like making Angular unorganised and bringing it into cluttered pattern
@ttma10465 жыл бұрын
In demo 3, I don't think "passing a BehaviorSubject into a '@Input' " is a proper practice (aka bad), it leads the child component also able to do something like `data.next(` to push anything into the BehaviorSubject to mutate state. At least, passing `behaviorSubject.asObservable()` to Input or better way that passing the real 'number' via `[data]="numbers$ | push"`.
@rodolfonogueira72545 жыл бұрын
Very informative!!
@tomekczajka51654 жыл бұрын
Great talk. Can you please provide the name of the extension for VS Code which allowed you to type theta which was then automaticaly replaced to the greek symbol? θ
@nikhilhukkerikar67535 жыл бұрын
I looked at the demo code from git and it seems somethings missing if I revive the timer and destroy the component the leak is still present even with the HOC there... I'm still seeing multiple console outputs...
@EliranEliasy5 жыл бұрын
Hi Nikhil, send me an email or twitter DM. I'll help you find the problem.
@_dinesh2 жыл бұрын
I am afraid this is going to excite some of the developers with swallow knowledge to adopt this pattern and run into all kinds of maintainability issues. It's gonna be a nightmare for someone who has to be the code review.
@RalOliver4 жыл бұрын
19:33 example of memory leak
@ericaskari5 жыл бұрын
I think this idea came from React which is awesome
@ayami1232 жыл бұрын
nah, I prefer the NgModule, at least you know where the components are and what are being used, by removing it, It is becoming more and more like react, which I HATE The most.