Migration guide update / fix #9649
-
Hi @ryanflorence and @timdorr, In the migration guide linked here, I believe there is an error in step 1. The // actual
- <Route path="/one/:two?" element={Comp} />
+ <CompatRoute path="/one/:two" element={Comp} />
+ <CompatRoute path="/one" element={Comp} /> // expected
- <Route path="/one/:two?" element={Comp} />
+ <CompatRoute path="/one/:two" component={Comp} />
+ <CompatRoute path="/one" component={Comp} /> |
Beta Was this translation helpful? Give feedback.
Answered by
timdorr
Nov 29, 2022
Replies: 1 comment 3 replies
-
Please make a PR. That is the best way to get these kinds of things fixed. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
codepath2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please make a PR. That is the best way to get these kinds of things fixed.