Пікірлер
@stalepalemale
@stalepalemale 17 сағат бұрын
4 years on and still no tableview component for Ionic
@quangminhtran9968
@quangminhtran9968 20 сағат бұрын
Using nvim on mobile phone is crazy 💀
@jaredsutton
@jaredsutton Күн бұрын
@joshuamorony This past year's videos have been invaluable *resources* in grounding our reckoning with Angular's big updates. Keep up the great work!
@theWorldOfIss
@theWorldOfIss 2 күн бұрын
sir we can do like this if the component we wanted to use it like inheritance : constructor ({ super (inject (BaseDependency)) })
@whitebelt4148
@whitebelt4148 3 күн бұрын
Not sure if I hate myself enough for this yet. Might need some insane rejection in order to build up the self hatred to put myself through this.
@Raid77
@Raid77 5 күн бұрын
It will start by making all new components functional by default, then it will become the only way allowed.. you can already make a standalone component with everything inline.. i just hate thinking about the temple as strings coming from functions. This will harm teams who won't even use it, because if someone did a part of the temple as a functional component then it will confuse other devs who are looking at the temple trying to debug where that html is coming from..
@fatimazboujrar
@fatimazboujrar 5 күн бұрын
thank you for this amazing explantation
@KeenkiDash
@KeenkiDash 5 күн бұрын
I think it would be nicer if you could feature a video coding that "from scratch" (or at least the key parts), instead of walking through the code. Reviewing the final solution can be quite overwelming eventhough you talk over it as we see it. However, congratulations for the up-to-day content that you bring, it's always very very interesting! Keep it on ✨
@cocoscacao6102
@cocoscacao6102 4 күн бұрын
True. I was lost 5 secs in. Just scrolling over endless lines, without time to get context...
@larshanisch
@larshanisch 5 күн бұрын
I just did the same thing some days ago, combining resource and linkedSignal into a helper function called linkedResource extending the ResourceOptions with a "linker" function. The Resource<T> type is cool and important, something every developer had invented for themself in the past, not neccessarily with signals, but I bet there was shareReplay somehow included. It's nice that we now have a common type we can agree on. And as you mentioned: linkedSignal is a powerful tool like rxjs' scan operator. I expect more "operators" coming in the future, esp. some kind of streamResource to handle multiple emissions from observable streams.
@uquantum
@uquantum 5 күн бұрын
thanks so much!
@nabenzanol
@nabenzanol 6 күн бұрын
Seams much complicated
@merlinwarage
@merlinwarage 6 күн бұрын
Everything seems complicated until you understand.
@rtpHarry
@rtpHarry 6 күн бұрын
@@merlinwarage and at some point rxjs seems to make sense .... Until you have to debug it 😅
@rtpHarry
@rtpHarry 6 күн бұрын
I can forgive you for saying dahhhtaa instead of dayta. But gifs instead of jifs? Buddy we fightin 🤠
@merlinwarage
@merlinwarage 6 күн бұрын
I mean. Graphics Interchange Format is not Jraphics. It's G. Or you can spell it as G.I.F when you can use the "J"
@JoshuaMorony
@JoshuaMorony 6 күн бұрын
I can't imagine being a "jiffer"
@rtpHarry
@rtpHarry 6 күн бұрын
Haha it's just the same as a gin and tonic. You're right, it's graphics interchange format. How do we know? It's in the 1987 spec. Right next to the intended pronunciation! Nobody says oh 1024? Nah I think it makes more sense as a nice round 1000. It's defined. I get that people might naturally get it wrong but it's not like it's ambiguous, it's outright defined by the authors how to say it. And it's explained that it's pronounced in line with a popular peanut brand in America. It's just the same as Linux. I would naturally lean for lie-nucks. But its pronounced after his name and I would be wrong to insist my own version is correct. Or Adobe shouldnt have the eeee by just looking at it. Or telephony. They all require learning the correct version... and then using it! Not saying: I don't care fight me bro! 🤣
@the00one45
@the00one45 5 күн бұрын
@@rtpHarry The actual RFC from 1987 doesn't specify the pronunciation. So "the creators liked a peanut butter brand" might not be as suitable as a proper pronunciation of the acronym.
@rtpHarry
@rtpHarry 5 күн бұрын
@@the00one45 ooh we are getting into some spice now! 😃 That's interesting info, I'll have to look it up. I hope I haven't been spouting garbage for years 😅 My history with it is my first IBM pc as a kid was windows 95. The internet was still dial up back then and cost money that my parents only gave me limited access to. So I went through every folder on that system, tried out all the command line tools, clicked in every corner. And somewhere in Windows internals there was the legal document for gif. In my head this is where I learned about it being made by CompuServe and the pronunciation. I may have misspoke saying that it was the RFC. I may have misspoke about it all! I need to find an iso of windows 95 now to figure out what is lodged in my memory. This was nearly 30 years ago...
@tolstoievski4926
@tolstoievski4926 6 күн бұрын
what's cool is that now and more in the future we can use rxjs only for advance use case.
@tolstoievski4926
@tolstoievski4926 6 күн бұрын
why on initial load you check for prev?.value and not just an empty array ?
@JoshuaMorony
@JoshuaMorony 6 күн бұрын
In the case of loading in the next page of data I don't want to clear out the previous data (otherwise page 2 data will replace page 1 data, but in this case I want the results appended onto the end)
@TheSysmat
@TheSysmat 6 күн бұрын
Rx resource not work if observable emit new values after time
@tranquility_lane
@tranquility_lane 6 күн бұрын
Thanks for keeping us updated on the state of signals! I recently tried them in my Angular 18 pet project and it was kind of "meh", they still feel undercooked to me. Having to convert signals to observables and back again drives me crazy and feels so damn wrong 😵‍💫It seems like we can wait a couple more versions for signals to gain functionality and develop best practices before using them in production. And in the meantime, I'll be solving these problems with good old RxJs
@christianhalaby832
@christianhalaby832 6 күн бұрын
Can you provide scenarios in which this is happening? as I dont seem to have this issue, (i am using ngxs as well) where to fetch or whatever you would have something like protected readonly timeZone = this.#store.selectSignal(SettingsState.timeZone);
@rtpHarry
@rtpHarry 6 күн бұрын
Seems like we will be forced soon. Well, depending on your tolerance for customising things and not just going with the flow. I was updating the eslint stuff to v19 and saw some rules that check you are using signals in certain spots and flag it otherwise.
@davititchanturia
@davititchanturia 6 күн бұрын
where can i find source code used in video ?
@JoshuaMorony
@JoshuaMorony 6 күн бұрын
Here: github.com/joshuamorony/angularstart-giflist/blob/v19-migration/src/app/shared/data-access/reddit.service.ts
@merlinwarage
@merlinwarage 6 күн бұрын
This is not that kind of channel.
@JoshuaMorony
@JoshuaMorony 6 күн бұрын
I forgot to include in the video the necessity of using "reduce" with the "expand" operator when using the signals based approach. When using an observable as the loader with rxResource it will only use the first emission from that stream, so it is necessary to collect all of the "expand" emissions into one single emission. This has the downside of not being able to "stream" results in as they come, like we can with the RxJS centric version. You can see this in the source code if you like: github.com/joshuamorony/angularstart-giflist/blob/v19-migration/src/app/shared/data-access/reddit.service.ts
@Greenmarty
@Greenmarty 6 күн бұрын
(N)Vim + Tmux is what elevates the experience even further.
@peterobrien269
@peterobrien269 7 күн бұрын
Asked ChatGPT to quantify "Almost Never", its response made me chuckle as it aligns with most Devs mindset.. "Depending on context" ChatGPT commenced.. and then expanding on a wide range of probabilities - multiple order of magnitude in difference. Conclusion it needs to be hammered down a bit more within future Signal-Effect code standards to avoid a spaghetti junction of highways.
@louispetrik7431
@louispetrik7431 7 күн бұрын
What does this image at 1:17 mean?
@ToveriJuri
@ToveriJuri 7 күн бұрын
The problem with a full switch is that. Jetbrains IDEs just have outirght better refactoring tools and autocompletion than nvim has through plugins.
@PwnKilla
@PwnKilla 7 күн бұрын
You should do more videos on note taking
@romulodsr
@romulodsr 8 күн бұрын
awesome!
@panjak323
@panjak323 8 күн бұрын
More like Necrovim 💀
@DerHerrGammler
@DerHerrGammler 9 күн бұрын
You said that resource and linkedSignal are experimental but the angular team promoted linkedSignal directly into the developer preview state :P
@fireflysemanticsmedia6267
@fireflysemanticsmedia6267 10 күн бұрын
Brilliant Stuff!!
@guru5383
@guru5383 10 күн бұрын
Please make one application with angular 19 snd signal
@emanuelec2704
@emanuelec2704 10 күн бұрын
i missed the sale. will there be a black fryday sale?
@noadsplease2737
@noadsplease2737 11 күн бұрын
I don’t think that there is anything that was covered here that is specific to the capabilities of neovim you could say almost the same thing about eMacs or any other religiously configurable/extensible piece of software: mutt, pine, midnight commander etc. It sounds to me like what you are really getting. It is the fact that the terminal is flipping awesome with the right side of tools.
@trimalakismeno
@trimalakismeno 11 күн бұрын
was close to finally learning rxjs and now this comes out, imo the frontend syntax is insane compared to spring for example which is more intuitive, I understand nothing from what Joshua is showing
@YouBetterBeJedi
@YouBetterBeJedi 11 күн бұрын
RxJs is so powerful and you can do much more than state management and call an http request. I will continue to use it anyway
@MrEliteXXL
@MrEliteXXL 12 күн бұрын
Why the ominous soundtrack? ahaha
@ranostaj-dev
@ranostaj-dev 12 күн бұрын
Hey, just one note here isn't the structure of every single component as a library a little bit overkill - meaning there are too many files with each component. Would be better to have for example /shared/ui as a library and then inside /shared/ui/src/libs/button - component? so each component will be kinda flat folder within UI library?
@BenjaminFavre29
@BenjaminFavre29 12 күн бұрын
Why would anyone inflect angular on themselves at this point ?
@rtpHarry
@rtpHarry 12 күн бұрын
@@BenjaminFavre29 what am I missing with another framework? (Serious question, I decided not to flip about learning bits of all frameworks and just focussed on this one because back when I started it was the only one that ionic supported)
@marl3x
@marl3x 13 күн бұрын
for me this is one of the least impactful updates tbh, the only thing I'm going to use is linkedSignal, and experiment with resource, also @let is nice
@meitalv8091
@meitalv8091 13 күн бұрын
thanks. It was very clear!
@nemuel9205
@nemuel9205 13 күн бұрын
Technically, is it possible to create a function or something else that allows you to have the functionality of a subject (action/event) and return a signal ? A new function in ngxtension Subgnal
@JoshuaMorony
@JoshuaMorony 13 күн бұрын
Not really, you will run into the same fundamental issues once you convert it to a signal. If you have the Subject itself accessible, you can use that if necessary for events/actions. If you have some function that just returns a signal then it's the same problem where if you try to use that signal to react to events/actions then some may be missed.
@nemuel9205
@nemuel9205 12 күн бұрын
@JoshuaMorony Having a function that returns both a Subject and its toSignal would be a game-changer for Angular developers. It would streamline the process of working with reactive data streams and provide a more consistent API for handling both Subjects and signals.
@sudosai
@sudosai 13 күн бұрын
Currently working with angular 8 💀 why am I even here? 😭
@julienwickramatunga7338
@julienwickramatunga7338 13 күн бұрын
As a happy owner of your course, it'll be my pleasure to read this nice update! Thank you Joshua for your dedication and for your high quality content 😊
@jamesvella
@jamesvella 13 күн бұрын
lol I love your first step, do I really want this? Not really I just love the vim-motions... 2 weeks later - neovim browser extension, what are arrow keys for, very expen$ive split keyboard, goodbye mouse, why isnt my whole operating system just neovim?...
@julienwickramatunga7338
@julienwickramatunga7338 13 күн бұрын
It was a good idea indeed 😁
@zero14111990
@zero14111990 13 күн бұрын
those changes are savage XD
@codeitlikemiley
@codeitlikemiley 13 күн бұрын
Its hard to keep up with all the js frameworks lol, I rather go all in with Rust ... in front-end and backend... LOL
@josefseibl2932
@josefseibl2932 13 күн бұрын
Really nice videos! I just bought your course. So I can skip the section about state management in your course if I learn StateAdapt?
@JoshuaMorony
@JoshuaMorony 13 күн бұрын
I think it would be worth going through as a lot of the stuff further in the course is based on those concepts, but also if you learn StateAdapt then you would probably understand what is going on conceptually anyway. But still, I think learning the same thing from different perspectives is useful.
@ferlezcano
@ferlezcano 13 күн бұрын
Joshua, your Angular course is amazing and the fact that you update it regularly is even better! 💪
@rtpHarry
@rtpHarry 13 күн бұрын
Im partially reluctant to learn signals just because its taken so long for me to finally get used to rxjs haha. I guess ill have to make the leap at some point.
@ferlezcano
@ferlezcano 13 күн бұрын
Same here... I saw so many videos from Joshua and when i finally lernt enough to work with RxJs, signals comes out...
@nickbstudy5462
@nickbstudy5462 13 күн бұрын
I can't recommend them highly enough; they're not too overwhelming to learn, and they make life so much easier and more responsive. Definitely worth the time investment to learn and start using them 👍
@becom1ng
@becom1ng 12 күн бұрын
Rest assured that Signals are incredibly easy compared to RxJS.
@rtpHarry
@rtpHarry 12 күн бұрын
@@becom1ng it's not the difficulty of signals it's the amount of time I put into rxjs! It's hard to abandon something that was so difficult for me to start to feel at home with... 😅
@larshanisch
@larshanisch 12 күн бұрын
Learning signals is not about getting rid of rxjs. The combination of both is what you want. Signals for state and observables for events. So I encourage you to go that route. It's worth it.
@rtpHarry
@rtpHarry 13 күн бұрын
I was a just about to have finished that course, seems like i have more work to do.. 😅
@agd99
@agd99 13 күн бұрын
Question: in your LoginService why do you define a ‘login$’ subject and also define a corresponding toSignal? Why not just have the signal and set it directly?
@JoshuaMorony
@JoshuaMorony 13 күн бұрын
This would actually work in this case, but the danger of using signal sets as a mechanism for "actions" is that they can miss actions/events due to the way effect scheduling works/signals not being designed for event handling generally. I'm not really 100% sure where I stand on this at this point, at the moment I'm leaning to using Subjects to represent all actions even though it isn't technically required in every case (I figure that's better than having surprising cases)
@TheSysmat
@TheSysmat 13 күн бұрын
v 19 is out and break all my tests and apps, it work fine in v 18, ng update no migrations