We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
segments-boundaries
Segments (in shared and in slices) should follow the next rule:
ui => model => api => lib => config
ui
model
api
lib
config
Ideally:
[ANY_CUSTOM_SEGMENT] => ui => model => api => lib => config => [ANY_CUSTOM_SEGMENT]
[ANY_CUSTOM_SEGMENT]
#55 (reply in thread)
/** @path features/smth/ui/** */ // Pass export { getSmth } from "../lib"; export { selectById } from "../../model";
/** @path features/smth/api/** */ // Fail export { FormType } from "../../../ui"; export { selectById } from "../../model"; // Pass export { getSmth } from "../lib";
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Segments (in shared and in slices) should follow the next rule:
Ideally:
#55 (reply in thread)
Example
The text was updated successfully, but these errors were encountered: