React.js pass data between components flow

后端 未结 2 839
天涯浪人
天涯浪人 2021-01-13 05:35

I have created three basic components.

A renders both the components B and C B is like header containg tabs 1,2,3 C is the first page on which there are two forms, o

2条回答
  •  醉酒成梦
    2021-01-13 06:22

    I tried to create the same scenario that u described, check the jsfiddle for working example.

    jsfiddle : https://jsfiddle.net/mj8rsawh/

    please comment on this if you want any other help.

提交回复
热议问题