dataRouter: element vs Component properties #13893
Unanswered
jukkahuuskonen
asked this question in
Q&A
Replies: 1 comment
-
Probably a goof up from copypasting old docs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I just upgraded from V5 through V6 to V7 and couldn't find any good explanations about the difference between router-object properties element and Component.
On V6 I decided to use element-prperty in router object, but when I got finally to V7 I couldn't find anything about element property in the docs. Only the Component was shown or defined anywhere.
However, app seems to work with either just fine. Is either one of those recommended for use with createBrowserRouter()?
Beta Was this translation helpful? Give feedback.
All reactions