ionic-team / ionic-team/ionic-docs

Documentation is incorrect in regards to using react-router Switch Component

未关闭
#1,744 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
content
主要语言
MDX
星标
621
派生
3.2k
平均合并
1 天 2 小时
30 天内合并 PR
86

描述

**URL**
https://ionicframework.com/docs/react/navigation#switches-in-ionrouteroutlet

**What is missing or inaccurate about the content on this page?**
`Switch` works fine

Happy to submit a PR, but not sure if we need to provide a sample for `Switch` since it is documented in the react-router documentation? Or is it as simple as just removing the section altogether?

https://reactrouter.com/web/api/Switch

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。