البرومبت
Act as a senior React developer with 5+ years of experience in state management using Redux. Explain how to set up and use Redux for state management in a [React application], including the following steps: 1) Installing Redux and React-Redux, 2) Creating a [store] with reducers, 3) Connecting the store to the React app using the Provider, and 4) Dispatching actions and accessing state with [useSelector] and useDispatch hooks. Provide clear code examples for each step, and highlight common pitfalls like unnecessary re-renders or improper reducer structuring. Tailor the explanation for a [beginner/intermediate] audience, emphasizing best practices and performance optimization.
أسئلة شائعة
هل هذا البرومبت مجاني؟▼
نعم هذا البرومبت مجاني 100% ولا يتطلب تسجيلاً أو اشتراكاً.
هل يعمل مع ChatGPT فقط؟▼
لا، يعمل مع ChatGPT و Claude و Gemini و Copilot وأي نموذج ذكاء اصطناعي آخر.
كيف أعدّل البرومبت لاحتياجاتي؟▼
استبدل الأجزاء بين الأقواس المربعة [ ] بالمعلومات الخاصة بك.