-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add strict definitions for layers #547
Conversation
✅ Deploy Preview for pr-fsd ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Yeah, they will be purged. I left them for now as reference to finish up the "Slices and segments" page |
* UI kit | ||
* API client | ||
* Code working with browser APIs | ||
* Routing primitives (e.g., authentication-protected routes) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Protected route always depends on some sort of state or bussiness logic from entities (eg. isAuthenticated
state flag from '@/entities/session').
People can be confused: bcs they cant import entities into shared.
As a solustion, i suggest move authentication-protected routes up to entities/session/model/**
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I agree that this isn't a good place for them
i18n/en/docusaurus-plugin-content-docs/current/reference/slices-segments.mdx
Outdated
Show resolved
Hide resolved
Also purge the processes layer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Background
We didn't have precise definitions for layers which led to misinterpretations and questions in communities.
Changelog