Do you think this is better than Redux? Or will you keep using Redux? Or is there a different State Management library that you prefer?
@greekapostle45482 жыл бұрын
I prefer angular forever 😍
@CodeWithAhsan2 жыл бұрын
@@greekapostle4548 hahah!! For sure!!! Angular FTW
@naseeriyat92412 жыл бұрын
It will be a bit difficult to shift from reduced 😊
@CodeWithAhsan2 жыл бұрын
Changes are always difficult. True
@JakubSK Жыл бұрын
No need for redux with the native components built into React for a while now.
@codemonkeynorth75037 ай бұрын
Better to just use {count} instead of {count.value} in your jsx part, because it doesn’t cause the whole component to rerender on change, it just updates that placeholder
@garcipat3 ай бұрын
Is this with the AuthSignals the recommended way to store the values?
@question_ij11 ай бұрын
Hi...i love ur video could you tell me how u edited, mostly putting ur social handle in d video. Thanks
@riddy6421 Жыл бұрын
Nice Video. I'm trying to use signals, but it seems they don't work with `react-navigation` ?
@CodeWithAhsan Жыл бұрын
What error did you face with signals and React navigation ?
@pranjuljain60259 ай бұрын
First time in my life where library(@preact/signals-react ) is not working
@SahraClayton2 жыл бұрын
Do Preact signals work with React version 18, I can't remember who's video I watched but I thought they said that signals do not work with React concurrent mode. I might of heard that wrong. They do look very good though, seems to solve some of React's problems.
@CodeWithAhsan2 жыл бұрын
Yeah, they definitely solve the prop drilling and state management issues. Even out of the components’ scope. I tested it with the latest version of React in this video. I haven’t specifically tested with a deep dive in concurrent mode yet
@SahraClayton2 жыл бұрын
@@CodeWithAhsan Thanks for replying, sorry but could you tell me a brief overview of what React concurrent mode is. I am new to web development and the coding bootcamp I am on hasn't covered what concurrent mode is.
@EthanStandel2 жыл бұрын
Shameless plug, but if you want Signals to scale like a full state management solution, you grab preact-signal-store. Currently it only supports Preact, but I'm working on converting it to a monorepo that exports a package that works with React as well.
@CodeWithAhsan2 жыл бұрын
Hey! That’s awesome 👏
@yabuking849 ай бұрын
Maybe add which signals package to install. Not sure why you skipped that.
@tonyohagan1195 Жыл бұрын
Wow! React has caught to Vue.
@CodeWithAhsan Жыл бұрын
Looks like it. And we have Angular introducing signals soon too. Exciting times!
@AbdulBasit-to2xr Жыл бұрын
It updates the value like "count.value++". Does it mean it does update the value in a mutable way? what if we have a complex data like var foo = signal({ a: 1, b: 2, d : { e: 5 } }) should I have to update the original object like foo.value.d.e = 10 // update the e value ??
@olesodynets97911 ай бұрын
Signals can be nested. So in this example it would be: signal({ a: signal(1), b: signal(2), d: { e: signal(5) } }) Or, if you're planning on updating "d": signal({ a: signal(1), b: signal(2), d: signal({ e: signal(5) )} }) // Wrapped "{e:signal(5)}" into another signal ---- I recon, this approach will lead to a lot of pain when trying to manage complex states.
@mognomoinak13093 ай бұрын
Hi Ahsan, can you please share the source code on github or something similar. I would be very greatful.
@brencancer2 жыл бұрын
great content
@CodeWithAhsan2 жыл бұрын
Thanks 🙏
@question_ij11 ай бұрын
Hi...i love ur video could you tell me how u edited, mostly putting ur social handle in d video. Thanks
@CodeWithAhsan11 ай бұрын
Hey there. I use davinci resolve for editing my videos :) I had the overlay (with green screen) created from a video editor. I just use that in all videos now.
@question_ij11 ай бұрын
Okay thank you
@question_ij11 ай бұрын
Have a second question. I tried coding along but I got stuck it not working or updating I use react18 I don't know why. Thank you
@kalisiCheddam19 күн бұрын
@@question_ij Even I am stuck at the same problem. Did you resolve it?