3 ms·
No it's not. You can't communicate cross components with just react, you're stuck on a parent-child relationship.
by ulisesrmzroche 10y ago
No it's not. You can't communicate cross components with just react, you're stuck on a parent-child relationship.
- caub 10y agoyou can by passing right state to the closest common parent. I pass props down, and a custom update function, easy, efficient (with PureComponents)