
Functional Programming with Ian Schwartz - JSJ 574
JavaScript Jabber
How to Define a React State Using Methods
The simpler it is to describe that change and the more easy it is to look at the various pieces of logic that make up that change, the easier your life is going to be. You know, sometimes when you set data, again, I don't really work with Redux very much. I try to keep it out of my projects, but it's not hard to see deeply nested spreads. Instead of passing a string around, and then doing a lot of existence checks all over the place, I would wrap that value as a maybe as a maybe and then pass it that way around.
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.