lightsout/react
The rules written for React: an app laid out by feature, size caps for hooks and components, and one way to write a component test.
- Rules
- 6
- Deterministic checks
- 5
- Agent checks
- 2
React Layout4
- feature-foldersWhat a feature is, and which folders it holds.DeterministicAdvises
- shared-layerWhere code that several features use lives.DeterministicAgentAdvises
- component-folderWhen a component gets a folder of its own.DeterministicAdvises
- feature-import-directionWhich way imports flow between features and the shared layer.DeterministicAdvises