[Navigate] is not a <Route> component. All component children of <Routes>

来源:14-8 后续学习建议

慕无忌1126555

2021-11-10

老师您好:
[Navigate] is not a component. All component children of must be a or <React.Fragment>
今天把完整项目下下来之后运行就出这个提示,请老师解惑。

写回答

1回答

Nolan

2021-11-13

1
1
慕无忌1126555
非常感谢!
2021-11-15
共1条回复

React17+Hook+TS4 优质实践,仿 Jira 企业级项目

解锁 React17 高阶用法,轻松应对大型复杂长周期项目

2691 学习 · 1236 问题

查看课程