Category: WildSync
-
Replacing Local State with Redux Toolkit
While working on WildSync’s onboarding flow, I noticed something common and a frustrating issue, which is the prop drilling.Components like the StepContent had to accept state and setState functions for almost every piece of the data and pass them down the tree: Before (lots of props): Now: It looks much cleaner now, doesn’t it? When…