Skip to content
New issue

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

blog component directory convention #8

Closed
hyesungoh opened this issue Mar 28, 2022 · 0 comments · Fixed by #11
Closed

blog component directory convention #8

hyesungoh opened this issue Mar 28, 2022 · 0 comments · Fixed by #11
Assignees
Labels
refactor This seems like refactorable

Comments

@hyesungoh
Copy link
Owner

as is

components
└── ComponentName
    └── index.tsx

to be

components
└── ComponentName
    ├── ComponentName.tsx
    └── index.tsx
// index.tsx
export { default } from './ComponentName';

for

IDE에서 확인되는 파일명을 통한 생산성 확보

해당 아티클 참고

@hyesungoh hyesungoh added the refactor This seems like refactorable label Mar 28, 2022
@hyesungoh hyesungoh self-assigned this Mar 28, 2022
hyesungoh added a commit that referenced this issue Mar 30, 2022
@hyesungoh hyesungoh linked a pull request Mar 30, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor This seems like refactorable
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant