
React Component and State Management - JSJ 526
JavaScript Jabber
00:00
Using Functions for Stateful Components Is a Good Idea
Reat has introduced a couple of new paradimes, you might say, into front end coding. Hooks are intended for cleanly maintaining state in site of functions rather than classes. Closure is simply essentially a private object that is not visible to the outside. I think i speak for all three of us when i say that we generally all prefer closures over classes.
Transcript
Play full episode