feature-sliced / documentation

🍰 Architectural methodology for frontend projects
https://feature-sliced.design
MIT License
1.5k stars 159 forks source link

fix: elaborate on the import rule on layers #582

Closed illright closed 1 year ago

illright commented 1 year ago

Background

The current version of the import rule on layers goes like this:

A module can only import other modules when they are located on layers strictly below.

Nothing about the fact that imports inside the slice are allowed. That's no good.

Changelog

  1. Add more details to the rule so that it actually makes sense
netlify[bot] commented 1 year ago

Deploy Preview for pr-fsd ready!

Name Link
Latest commit 8ee85ebe873d959b53d4274925887d7e60066ae0
Latest deploy log https://app.netlify.com/sites/pr-fsd/deploys/646aa2b860ad0600085a3efb
Deploy Preview https://deploy-preview-582--pr-fsd.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.