Комментарии:
Really thoroughly explains Signals with clear, relevant examples. Nicely done, thank you!
ОтветитьThanks!
ОтветитьThank you for your great efforts and for sharing your knowledge, you're simply amazing
ОтветитьAccidentally landed in this video. Now he's my favourite instructor. Amazing Rainer😍
Ответить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. :)
Great video! Thank you for sharing your knowledge ;)
ОтветитьAwesome! Big thanks!
ОтветитьSuper!)) I`m understanding how it works. Thank you!)
ОтветитьThank you very much for sharing your knowledge.
Great content.
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.
Ответить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.
Ответитьhello i have start your tuto yesterday, but when i run your git repo, i have;---/**--- We are sorry. An error happened.
ОтветитьCan you share your vscode extensions?
ОтветитьGreat Job. Thank you for all the videos and articles you share with the community, it helps a lot.
Ответить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.
Ответить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 ;)
Ответитьthanks, that was a wonderfull overview
Ответить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!
Best Angular tRainer ;)
ОтветитьGreat video, very clear explanation, thank you very well!
Ответить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...
Can you share your IDE setup & extensions
ОтветитьSource: Window.addEventListener:message seems to be triggering change detection all the time
Ответить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).
ОтветитьI would like to congratulate you for the excellent work you did in this video, great explanations
ОтветитьWhat I found here just Gold, You can't ask better explanation this, thanks for great work you've done here.
Ответитьvery very good
Ответить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.
ОтветитьAny other devs having knockout.js flashbacks?
Ответить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?
ОтветитьVery nice video, I learned a lot from it that was very fuzzy before.
ОтветитьThank you for this course! Finally i could understand how to use Signals!
ОтветитьAbsolutely amazing!
ОтветитьHI , ExpressionChangedAfterItHasBeenCheckedError occurring due to the loading service but why it is coming from there ?
ОтветитьExcellent video, but use dark theme please!
Ответитьvery good stuff, thanks for your precious time.
just wondering the vs extension showing those properties definitions
Thanks for this. Also, your audio is much better in this video than some of your older ones.
Ответить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 effect is exactly what I needed.
Ответить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!
ОтветитьFantastic, Rainer! A comprehensive overview of the signals API and beyond...
Ответить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!
Ответитьdoes anybody know which extension is using to show the variable types while typing? Thanks in advance!
ОтветитьAbsolutely awesome Rainer. A complete overview of signals API and more ...
ОтветитьDo we still need to explicitly set changeDetection to ChangeDetection.OnPush?
Ответитьwhats the editor u are using for coding, how the type of variable are shown
ОтветитьReally great video. Thanks for posting a detailed video. Any guide on What is the reactive context? Every view is considered as reactive context ?
ОтветитьGood explanation. Can i ask what ide your using with the tooling inserting the greyed types etc.
Ответить