Posts by collin@mastodon.social
(DIR) Post #ATM3LhQEN4xEqQ4dl2 by collin@mastodon.social
2023-03-06T23:21:38Z
0 likes, 0 repeats
@bcdavid @seldo yeah, I remember when it dawned on me that redux is mostly used as a bad http cache without the advantage of making the runtime/protocol take responsibility.And then for anything that actually resembles an app with complex state management needs, I’m looking for something much more batteries included.
(DIR) Post #ATMMPKHoEJcdNSZsJ6 by collin@mastodon.social
2023-03-07T03:27:19Z
0 likes, 0 repeats
@seldo @bcdavid Personally I love the mobx flavor of state management. Mobx-keystone in particular is my kind of thing. ( Though it’s a little light on docs and the community is smaller. )I’m working on a side project that’s sort of like figma, so lots of recursive structures with a rich graph of relationships.In general I like to have my state management be either almost not there at all, or a full-on ORMish abstraction.
(DIR) Post #ATMMxCWdahGb9ZfMyO by collin@mastodon.social
2023-03-07T03:33:23Z
0 likes, 0 repeats
@seldo before I settled on mobx I used to do some mashup of redux + https://github.com/immerjs/immerMy perspective is: I get the why command pattern and immutable data are good. But typical redux use looks like 50% line noise to have copy-on-write behavior.I think code that looks like mutation reads better as “business logic”, and a lot of tv redux ecosystem is like a disjointed version of “heftier” state management solutions.
(DIR) Post #ATMNOe1HTZU0FC5MOW by collin@mastodon.social
2023-03-07T03:38:20Z
0 likes, 0 repeats
@seldo sigh, state management can be such a pain, it’s like css. Actually super cool, but everybody has a horror story or two they’re scared to repeat… And if it starts to get out of control it’ll be hell no matter what you chose :cry: Godspeed!
(DIR) Post #ATas9SyC5sd8QEK5cu by collin@mastodon.social
2023-03-14T03:29:04Z
0 likes, 0 repeats
@seldo totes.I’m teaching a beginner class right now. For bootstrapping reasons we’re building with html/css/js. It’s a small enough toolkit that you can learn quick enough and build func and real things with.But 100%, even with a ~100 line tic tac toe game… I’m like, yeah, front end toolkits are pretty awesome and on the whole do a good job of solving the pain points of vanilla js.