Skip to content

Commit 8b278e1

Browse files
committed
fix: remove conflicting default export guidance in react instructions
1 parent 44d3f7d commit 8b278e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/instructions/react.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const MyComponent: React.FC<MyComponentProps> = ({
6161

6262
- Components should be composable and nestable
6363
- Avoid tightly coupled dependencies
64-
- Export both default and named exports when appropriate
64+
- Use named exports only (see global coding standards)
6565
- Keep components focused and simple
6666
- Implement error boundaries for error handling
6767

0 commit comments

Comments
 (0)