Design Patterns · Middle · Question 25 of 75
What is the order of Feature-Sliced Design layers from top to bottom?
- ✓Correct answer: app → pages → widgets → features → entities → shared
- 2shared → entities → features → widgets → pages → app
- 3pages → app → shared → features → widgets → entities
Explanation
In FSD, a module can import only from layers below it: features use entities and shared, but not widgets. This prevents circular dependencies and makes the impact of changes predictable.