البرومبت
Act as a senior React developer with 7+ years of experience in building scalable and efficient front-end applications. Your task is to guide me in creating a custom React hook for [specific functionality], ensuring it follows best practices and adheres to clean code principles. Provide detailed explanations on why each step is necessary, including how to handle [specific edge case] and optimize performance using [specific technique]. Additionally, include a code example with proper TypeScript support for [specific use case], and explain how to test the hook using [specific testing library]. Make sure the solution is reusable and modular, suitable for integration into a large-scale project.
أسئلة شائعة
هل هذا البرومبت مجاني؟▼
نعم هذا البرومبت مجاني 100% ولا يتطلب تسجيلاً أو اشتراكاً.
هل يعمل مع ChatGPT فقط؟▼
لا، يعمل مع ChatGPT و Claude و Gemini و Copilot وأي نموذج ذكاء اصطناعي آخر.
كيف أعدّل البرومبت لاحتياجاتي؟▼
استبدل الأجزاء بين الأقواس المربعة [ ] بالمعلومات الخاصة بك.