阅读背景:

如何在父组件的React中设置子组件中的动态组件?

来源:互联网 

I have a parent component that pulls in a child component, that pulls in another child component. I want to be able to set what that child's child component is from the top parent. Cannot figure out how to do that. Here is some code to demonstrate what I am trying to do:I have a parent component that pulls in a child




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: