What is Feature-Sliced Design (FSD)?
mainFeature-Sliced Design (FSD) is an architectural methodology for scaffolding front-end applications. It is a compilation of rules and conventions for organizing code to make projects more understandable and structured, especially when facing changing business requirements.
Key characteristics:
- Stack Agnostic: Can be used for web or native applications.
- Organization: Code is organized by scope of influence (layers), by domain (slices), and by technical purpose (segments).
- Dependency Rules: A module on a particular layer cannot use other modules on the same layer, or the layers above it, ensuring stability during refactoring.
- Business Orientation: Projects are split into business domains, allowing developers to navigate code based on project features.