Cursor/fsd clean architecture 36aa - #16
Merged
Merged
Conversation
Move generic chrome into shared/ui, session into entities/session, and domain helpers into their entities. Features no longer import widgets or other features. ESLint now rejects deep cross-slice imports so slices must be consumed through index.ts. Co-authored-by: oz.toogii <oz.toogii@gmail.com>
Root public API now exports only unsliced layers (shared, processes). Widgets, features, and entities are imported through their slice index.ts. Co-authored-by: oz.toogii <oz.toogii@gmail.com>
Co-authored-by: oz.toogii <oz.toogii@gmail.com>
Allow rules now require index.ts for widgets/features/entities, so nested paths like entities/user/ui/* fail lint. Split weekly schedule, booking actions, and withdrawals table into focused modules. Co-authored-by: oz.toogii <oz.toogii@gmail.com>
Split application files over 300 lines, replace React Compiler set-state-in-effect/purity issues with keyed forms, derived URL state, and useSyncExternalStore, and document leftover polish plus how to add future slices in docs/FSD-PLAYBOOK.md. Co-authored-by: oz.toogii <oz.toogii@gmail.com>
React Compiler forbids reading or writing refs during render. Use the query dataUpdatedAt timestamp instead. Co-authored-by: oz.toogii <oz.toogii@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.