3 ms·
One simple technique is using JSX spread to pass all props down the component hierarchy. Another is using a state container such as redux and using its containe
by j_jochem 10y ago
One simple technique is using JSX spread to pass all props down the component hierarchy. Another is using a state container such as redux and using its container abstraction to inject actions that mutate app state into the components they are used in.