We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
노션의 컨벤션 페이지 내용을 옮겨왔어요.
components
index.tsx
[Component].stories.tsx
main
feat/[기능]
React. 네임스페이스
import
${ComponentContext}
${ComponentContext}Interface
useSafeContext(context: Context)
getElementById
ChildNodes
querySelector
${tagName}
li
$li
$trigger
${tagName}{Adjective}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
💅 작업사항
노션의 컨벤션 페이지 내용을 옮겨왔어요.
📖 세부내용
일반
components
하위 디렉토리에서 폴더 별로 관리해요.index.tsx
그리고[Component].stories.tsx
파일을 생성해요.브랜치 전략
main
하나 두고 기능 별로feat/[기능]
브랜치 따서 개발해요.main
에서 바로 publish하면 돼요.네이밍 컨벤션
다른거: kebab-case
React. 네임스페이스
붙이지 않고import
해서 사용하기${ComponentContext}
인터페이스 네이밍을${ComponentContext}Interface
로 하기useSafeContext(context: Context)
로 사용해주세요!getElementById
,ChildNodes
,querySelector
… 등등 DOM 요소에 직접 접근하는 코드의 경우${tagName}
으로 사용,li
같은 축약어도 예외 없이$li
로 표시해주세요.$trigger
처럼 역할명으로 사용해 주세요.${tagName}{Adjective}
⚙️ 갱신내역
The text was updated successfully, but these errors were encountered: