Excellent and informative video. It is a needed feature in most application. Thank you :)
@CodeShotsWithProfanis
Жыл бұрын
Glad you think so Sudipto! :)
@VladyslavHaidar
Жыл бұрын
Sir, please, don't disappear, we like your content so much, keep going on it!
@CodeShotsWithProfanis
Жыл бұрын
Glad you like my content and thanks for your warm comment!
@giorgoskontis7185
11 ай бұрын
Thank you for the video man!
@ralph8529
Жыл бұрын
Nice example of practical feature which for example ecommerce shops often needs, when back to list of products. Personally I create a public method for emit a value by BehaviourSubject and keep my BehaviourSubject property private. But this is some individual preferences I think.
@rythmrana1987
7 күн бұрын
perfect
@santiagobruno_t1581
3 ай бұрын
thanks!!!!
@iamtrinhchau
8 ай бұрын
🎉 awesome
@veeramanikantapinnana423
Жыл бұрын
Hi Can I know which vscode extensions you are using
@mahdiandalib186
Жыл бұрын
thx man
@mahdiandalib186
Жыл бұрын
plz create full web with admin panel using angular
@rythmrana1987
7 күн бұрын
which version of angular is this
@CodeShotsWithProfanis
6 күн бұрын
I am doing that with Angular 18 but it's also compatible with older versions.
@swapnasaritnayak2569
Жыл бұрын
What if we assign the route pipe to an observable and use it in tap operator inside the API call pipe ?
@CodeShotsWithProfanis
Жыл бұрын
I would try to keep separate the API call and the routing
@anuragsing039
5 ай бұрын
HI fanis , please can you provide a demo code for this video against.
@CodeShotsWithProfanis
5 ай бұрын
There is repo link in video's description :)
@ZeR0ByTe
Жыл бұрын
Thanks! And what happen if you are using Infinite Scroll? Will works too? Thanks!
@CodeShotsWithProfanis
Жыл бұрын
That's an interesting question. I would approach that by tweaking the "decision point". Meaning: When you have an infinite scroll you can keep the state of the current page on the query params (e.g. ?page=2). When you navigate back to the page you are taking under consideration the page query param, you are firing the HTTP calls and I would expect the HTTP Calls to have the current page on the response. The decistion point would be HTTP Response#Page_Property===Page_Query_Param
@tomazmajerhold8413
Жыл бұрын
RestoreScrollPositionDirective:ngAfterViewInit I see in console that is called at correct time but is not scroll to the correct position. AutoScrollService::init position has no next emited
@tomazmajerhold8413
Жыл бұрын
it looks like position$ is not emitting from router
@aram5642
Жыл бұрын
What you did is kind of replica of bfcache and pageshow event for SPA :)
Пікірлер: 24