Why is null returned inside a React's Route's component?

前端 未结 0 881
梦谈多话
梦谈多话 2021-02-07 09:32

This is how i have my route component and returning null inside only works,without returning a null i get an error.So what is the logic behind that ?

const route         


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