Replies: 2 comments
-
If a feature has multiple routes then you may add those features to those routes. The way I understand it shared - > features - > routes |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just think of the app layer (routes are there) as the place where you put everything together. Since features should not import other features, we can combine them at the app level. A good example is https://github.com/alan2207/bulletproof-react/blob/master/src/app/routes/app/discussions/discussion.tsx where we combine discussion and comments on the page. |
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
-
what goes in as a feature and what goes into the routes directory? I understand that routes imports features but how do I decide what goes in as a feature? also a feature can have multiple routes
Beta Was this translation helpful? Give feedback.
All reactions