Skip to main content

kitajs-html-web

NDB2 web rendering with @kitajs/html: PascalCase Kitajs components, kebab-case component files in one folder per component (name/name.tsx, name.css, name.test.tsx, index.ts), feature folders (page.tsx, handler.tsx, tests/), HTMX. Query parsing uses @shared/validation/http + domain and colocated parse/serialize helpers; see skill body. Component props: use dot access (props.title) only; do not destructure the props object at the start of a component (no const { x } = props) except the documented rest-and-forward pattern — see Component props. Prefer narrow local props interfaces (no Entities.* in markup); see Props types. mergeClass, Suspense + renderToStream. Use when adding or changing server-rendered UI under app/src/web; not for React client apps or EJS. Triggers: PreferencesForm, Button, PageLayout, props, destructuring.

الانتقال إلى التثبيت

معلومات المصدر

المستودع
Off-Nominal/ndb2
آخر نشاط في المصدر
١٤ مايو ٢٠٢٦ في ١٦:٢٠
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٠
التفرعات
٠

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.