البرومبت
Act as a senior React developer with 5+ years of experience building complex state management systems. Explain how to properly implement the `useSyncExternalStore` hook in a [TYPE OF APPLICATION] (e.g., e-commerce dashboard, real-time chat app). Cover: 1) When to choose this over Context API or Redux for [SPECIFIC USE CASE], 2) Step-by-step integration with [EXTERNAL STORE LIBRARY] (e.g., Zustand, Jotai), and 3) Performance optimization tips for [TARGET DEVICE] (mobile/web). Include code snippets showing subscription handling, snapshot retrieval, and cleanup. Address common pitfalls like zombie children and stale closures.
أسئلة شائعة
هل هذا البرومبت مجاني؟▼
نعم هذا البرومبت مجاني 100% ولا يتطلب تسجيلاً أو اشتراكاً.
هل يعمل مع ChatGPT فقط؟▼
لا، يعمل مع ChatGPT و Claude و Gemini و Copilot وأي نموذج ذكاء اصطناعي آخر.
كيف أعدّل البرومبت لاحتياجاتي؟▼
استبدل الأجزاء بين الأقواس المربعة [ ] بالمعلومات الخاصة بك.