Skip to content

chore: add React component file structure conventions to CLAUDE.md#16125

Merged
JarrodMFlesch merged 1 commit intomainfrom
docs/react-component-file-structure
Apr 1, 2026
Merged

chore: add React component file structure conventions to CLAUDE.md#16125
JarrodMFlesch merged 1 commit intomainfrom
docs/react-component-file-structure

Conversation

@JarrodMFlesch
Copy link
Copy Markdown
Contributor

Summary

Adds guidance to CLAUDE.md for React/SCSS file organization. Each component should have its own named folder with index.tsx and index.scss rather than multiple ComponentName.tsx files sharing a single .scss in one directory.

@JarrodMFlesch JarrodMFlesch changed the title docs: add React component file structure conventions to CLAUDE.md add React component file structure conventions to CLAUDE.md Apr 1, 2026
@JarrodMFlesch JarrodMFlesch changed the title add React component file structure conventions to CLAUDE.md chore: add React component file structure conventions to CLAUDE.md Apr 1, 2026
@JarrodMFlesch JarrodMFlesch merged commit 9284441 into main Apr 1, 2026
24 of 25 checks passed
@JarrodMFlesch JarrodMFlesch deleted the docs/react-component-file-structure branch April 1, 2026 18:22
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 8, 2026

🚀 This is included in version v3.82.0

milamer pushed a commit to milamer/payload that referenced this pull request Apr 20, 2026
…ayloadcms#16125)

## Summary

Adds guidance to CLAUDE.md for React/SCSS file organization. Each
component should have its own named folder with `index.tsx` and
`index.scss` rather than multiple `ComponentName.tsx` files sharing a
single `.scss` in one directory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants