You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was browsing the source code because I was curious how the <Form /> component works and discovered all the code for react-router code is in one index.tsx file. I'm simply asking what the reasoning for this decision is, given that most other repositories I've browsed or organized myself are broken out to be one file per component and follow some neat file structure to lead the read to what they are looking for.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I was browsing the source code because I was curious how the
<Form />
component works and discovered all the code forreact-router
code is in oneindex.tsx
file. I'm simply asking what the reasoning for this decision is, given that most other repositories I've browsed or organized myself are broken out to be one file per component and follow some neat file structure to lead the read to what they are looking for.Beta Was this translation helpful? Give feedback.
All reactions