how to update the state of sibling component from another sibling component reactjs

后端 未结 0 372
北恋
北恋 2020-12-08 13:53

There are two sibling components SiblingA and SiblingB. SiblingA has two buttons b1 and b2. SiblingB has two radio buttons r1 and r2.

When I click b1, radio button r1

相关标签:
回答
  • 消灭零回复
提交回复
热议问题