You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e035262
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CONVENTIONS.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,6 +114,8 @@ Methods that return a boolean should use an interrogative prefix (`_should...`,
114
114
115
115
When adding files under `packages/`, `dev/`, or `test/`, name files using dash-case (e.g. `form-layout.types.ts`). Build scripts under `scripts/` are the exception and use camelCase.
116
116
117
+
The React packages under `packages/react-components*/` are an exception. Component files use the PascalCase component name (`Button.ts`, `GridColumn.tsx`), because the file name is the published import specifier (`@vaadin/react-components/Button.js`). Hooks and utilities use camelCase (`useRenderer.ts`, `createComponent.ts`).
118
+
117
119
## JSDoc
118
120
119
121
Documentation / JSDoc should describe the public contract and behavior, not internal implementation details on how the behavior is achieved.
0 commit comments