3 ms·
Are you really just opposed to doing things in different files? I'm going to divert the conversation away from Redux entirely if that's the case. You should in
by johnfn 10y ago
Are you really just opposed to doing things in different files?
I'm going to divert the conversation away from Redux entirely if that's the case. You should invest in an editor with good "go to definition" support. I had a similar problem, but as soon as I did this, the pain threshold for switching files dropped to nearly 0.
(If that's not the case, do keep on mind that a file separation is totally unnecessary. You could write your state manipulators inline if you wanted. I feel it is a bit organizationally messy, but hey, whatever you like.)
- floatboth 10y agogo to definition is still an extra keystroke :P I'm just excited about Freezer, and don't care much about Redux.
- johnfn 10y agoWell I hope you realize that coming onto a topic about Redux and claiming Freezer is better without really understanding Redux internals may not be the best way to proselytize. :)