6 ms·
Not being able to move your components without editing your component hierarchy is a code smell. Data should be bound at the level it is consumed. "Prop drillin
by pault 7y ago
Not being able to move your components without editing your component hierarchy is a code smell. Data should be bound at the level it is consumed. "Prop drilling" is an anti-pattern. Redux is the most common way to solve this problem but you can use anything built on top of the context API.