Replies: 2 comments
-
You can use |
Beta Was this translation helpful? Give feedback.
0 replies
-
React router is really complicated and has a lot of functionality that can be really surprising, so I read the source code quite frequently. Using const in the places where it makes sense would make it much easier to read.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const#:~:text=Many%20style%20guides%20(including%20MDN's,non%2Dprimitives%20that%20are%20mutated.
|
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.
-
See #1888
Beta Was this translation helpful? Give feedback.
All reactions