Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
pk7611705yYou probably just have bad tools for managing state. Although sometimes the way things are explained is really bad.
-
Root797675yTakes a bit, then it clicks and it's so elegant and obvious you'll wonder why you never came up with it yourself. Kinda like calc.
-
sboesch5465yI'm also having a hard time to get into it (using Angular). I fully understand why it's great and I can read it fine, but I haven't managed to write my own state yet. Whenever I give it a try, I'm overwhelmed by everything you have to set up. Actions, Effects, Reducers, I don't even know where to start. Also I haven't found a good example yet, where I could see how complex applications work, with pagination, filtering, sorting, optimizing. Sure, I can pull "Animals" from a "ZooState" or write an over-engineered counter, but this doesn't help me in the real world.
-
@24th-Dragon I missed ngrx while using angular. Right now I am learning Flutter, thought I would learn state management this time.
-
Root797675y@sboesch That giant event/state loop is definitely pretty alien at first. It took me a few days to finally get it. But when you do, it'll just click and suddenly make so much sense. Keep at it!
Why the fuck state management is so hard to get my head around? 😠😠😠
rant