@iamdevlinph/codex-kit 1.0.24 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -156,15 +156,15 @@ conditional procedures into validated project skills.
|
|
|
156
156
|
platform suffixes such as `.ios.tsx`, `.android.tsx`, and `.native.tsx`.
|
|
157
157
|
- Use `PascalCase` for components, context providers and consumers, type aliases,
|
|
158
158
|
interfaces, and enums.
|
|
159
|
-
- Use `
|
|
160
|
-
|
|
159
|
+
- Use `camelCase` for functions, variables, props, state, and code-owned object
|
|
160
|
+
properties.
|
|
161
161
|
- Name custom hooks as `useThing`, higher-order components as `withThing`, and
|
|
162
|
-
local event-handler functions as `handleThing`. Name
|
|
163
|
-
|
|
164
|
-
- Prefix boolean props, state, and variables with `
|
|
162
|
+
local event-handler functions as `handleThing`. Name callback props with `on`,
|
|
163
|
+
such as `onSubmit`.
|
|
164
|
+
- Prefix boolean props, state, and variables with `is`, `has`, or `should`
|
|
165
165
|
when the prefix accurately describes their meaning.
|
|
166
166
|
- Use `UPPER_SNAKE_CASE` for module-level constants and enum members. Keep
|
|
167
|
-
ordinary local `const` bindings in `
|
|
167
|
+
ordinary local `const` bindings in `camelCase`.
|
|
168
168
|
|
|
169
169
|
## Data And Validation
|
|
170
170
|
|