Skip to main content

spa-subdomain-root-render

Render a page component directly at subdomain root (/) without URL redirect in React Router SPAs. Use when: (1) Subdomain should show content at / instead of redirecting to /profile/id or similar, (2) User sees blank page because component relies on useParams() but there's no route param at /, (3) Want username.domain.com/ to feel like a personal website without /profile/xyz in the URL. Pattern involves edge-injected global data + component fallback to that data when route params missing.

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

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

المستودع
divinevideo/divine-web
آخر نشاط في المصدر
١٨ يوليو ٢٠٢٦ في ٠٣:٥٣
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٤٦
التفرعات
٢٨

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

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

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

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