Why does using 'render' prop instead of 'component' prop cause my content in a component rendered by React Router to disappear?

后端 未结 0 1296
小蘑菇
小蘑菇 2020-12-20 18:35

I am making an app with React such that I want to pass props to a component that is being rendered by React Router. However, I realised that when I use the \'render\' prop i

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