Комментарии:
Good explanation. Can i ask what ide your using with the tooling inserting the greyed types etc.
ОтветитьReally great video. Thanks for posting a detailed video. Any guide on What is the reactive context? Every view is considered as reactive context ?
Ответитьwhats the editor u are using for coding, how the type of variable are shown
ОтветитьDo we still need to explicitly set changeDetection to ChangeDetection.OnPush?
ОтветитьAbsolutely awesome Rainer. A complete overview of signals API and more ...
Ответитьdoes anybody know which extension is using to show the variable types while typing? Thanks in advance!
ОтветитьFantastic content, brilliantly explained. I really appreciate the step by step changes and taking the time to explain why each error occurs. Master at work! Thank you for making and sharing this Rainer!
ОтветитьFantastic, Rainer! A comprehensive overview of the signals API and beyond...
ОтветитьI am so greatful! I will share this with my team, so we can easily bring everybody to the same understanding of Signals pretty quickly! Thank you!
Ответитьthanks effect is exactly what I needed.
ОтветитьGreat video! I am really looking forward to working with v17+.
I am personally a big fan of React, and I am happy to see Angular going towards something that feels more familiar to me.
It would be cool if the effects worked like React. You give it a list of which signals can cause it to trigger. The automatic triggering based on signals being referenced is cool, but also very dangerous as you mention. And having to wrap that in untrack just seems less elegant than an array of signals which can cause an update. Sad that they didn't want the explicit list of signals.
Thanks for this. Also, your audio is much better in this video than some of your older ones.
Ответитьvery good stuff, thanks for your precious time.
just wondering the vs extension showing those properties definitions
Excellent video, but use dark theme please!
ОтветитьHI , ExpressionChangedAfterItHasBeenCheckedError occurring due to the loading service but why it is coming from there ?
ОтветитьAbsolutely amazing!
ОтветитьThank you for this course! Finally i could understand how to use Signals!
ОтветитьVery nice video, I learned a lot from it that was very fuzzy before.
ОтветитьExcellent video. Many thanks. Been using react for sevral years, with mobx for state management. Signals seem very close to how mobx works. What is your thought on using signals for application state as well?
ОтветитьAny other devs having knockout.js flashbacks?
ОтветитьEffects don't see all value updates because the JavaScript event loop is single threaded and the effects are only executed after the current execution context has finished and the deferred event loop is drained. I'm pretty sure the only way that computed signals and effects automatically register their dependencies is that they record what signals are called during their execution; and more importantly this is only possible because JavaScript is single-threaded. I assume that there is a global register that is used to accumulate a list of called signals during the execution of an effect or computed and that is used to register the dependencies and listen for updates. This only works if only one effect or computed is able to be executed at a time.
Ответитьvery very good
ОтветитьWhat I found here just Gold, You can't ask better explanation this, thanks for great work you've done here.
ОтветитьI would like to congratulate you for the excellent work you did in this video, great explanations
ОтветитьYour example on toSignal() appears a simple solution, but in my experience, sometimes it is not appropriate to provide an arbitrary initial value, in which case signals don't work. I think this is an anti pattern. To me it seems more logical an architecture to wait for the real value from the database, rather than scattering around arbitrary starter values, which may have unexpected consequences (e.g. in effects that do calculations).
ОтветитьSource: Window.addEventListener:message seems to be triggering change detection all the time
ОтветитьCan you share your IDE setup & extensions
ОтветитьHi how do you feel about calling a private method in a computed signal that could hide a lot, i.e. what signal(s) the computed one depends on?
I kind of try to read the signals value first and pass them as function parameters for better readability...
Great video, very clear explanation, thank you very well!
ОтветитьBest Angular tRainer ;)
ОтветитьThank you for the bombshell video Rainer!
While these Signal APIs vastly simplify how components/directives React to Changes, I feel that we still have not arrived at a good pattern for the Initialization phase of components/directives using Signal APIs.
Scheduling Initialization in constructor using the afterNextRender() seems to be the most sensible approach for me, with the added benefit of being SSR-friendly
I also tried setting up Initialization using effect() and untracked() but in the end it felt a bit "unsafe" because effect execution is asynchronously dependent on Change Detection Scheduling, which we have very little control over. I am also concerned about when the executed effect is itself an asynchronous fetch, like in your demo (the async search function).
ngOnInit, on the other hand does not have access to viewChild() and contentChild(), unless these queries are marked static.
Perhaps you can provide more insight regarding the advantages/disadvantages of the above approaches in future videos, when best practices emerge!
thanks, that was a wonderfull overview
ОтветитьSweet mama, fantastic stuff. Most in-depth guide in this topic that i found on yt. Thanks for this and keep up with great work! And subscribed ;)
ОтветитьDo you have written this guide somewhere? Like in medium or some other place? Because audio on this is not so great and putting me off.
ОтветитьGreat Job. Thank you for all the videos and articles you share with the community, it helps a lot.
ОтветитьCan you share your vscode extensions?
Ответитьhello i have start your tuto yesterday, but when i run your git repo, i have;---/**--- We are sorry. An error happened.
ОтветитьIf we update signal in an effect not aware of it could go into infinite loop. Will angular gives any warning? I think while implementing complex functionality developer may get into updating multiple effects that can lead to infinite loop, it is better angular should warn.
ОтветитьYesterday, I pulled the init branch and started the tutorial, and everything was OK. Today, when I launched the application with ng serve, the server started successfully, but when I go to localhost:4200, I only see the header and the page content is blank. After 5 seconds, I get a timeout. It's as if the frontend is trying to connect to a remote server without getting a response. I can send you a screenshot if you want.
ОтветитьThank you very much for sharing your knowledge.
Great content.
Super!)) I`m understanding how it works. Thank you!)
ОтветитьAwesome! Big thanks!
ОтветитьGreat video! Thank you for sharing your knowledge ;)
ОтветитьGreat video!
It'll take a while for me to really understand some concepts, especially since we haven't been using Signals yet, and we've only just upgraded to v17. However, I'm excited about the future of both Signals and RxJS. :)
Accidentally landed in this video. Now he's my favourite instructor. Amazing Rainer😍
ОтветитьThank you for your great efforts and for sharing your knowledge, you're simply amazing
ОтветитьThanks!
ОтветитьReally thoroughly explains Signals with clear, relevant examples. Nicely done, thank you!
Ответить