Content
@
0 reply
0 recast
0 reaction
Tayyab - d/acc
@tayyab
Do you still use Redux in your React/NextJS projects?
9 replies
0 recast
1 reaction
Ben Adamsky π
@ba
Not anymore, too much overhead for what itβs worth on most projects. Had a good experience with jotai recently, but trying to avoid state management libraries altogether these days
2 replies
0 recast
0 reaction
Phil Cockfield
@pjc
"trying to avoid state management libraries altogether these days" I'm the same these days too. State libs can become such "conceptual traps." Controlling immutable state yourself really keeps you in the drivers seat. Need to remain disciplined/principled a/b state, but I'm weary of other peoples f/w "religions"
0 reply
0 recast
1 reaction
Phil Cockfield
@pjc
I do a lot with passing observables (rxjs) around to manage redraws on change, with immutable POJOs...and then more recently, all that getting rolled up into CRDTs. { current: T change(Ζn: (d: T)=> void): void } β ...gets you a hell of a lot of everything needed (immutability wise) and all simple JS stuff.
0 reply
0 recast
0 reaction