راکت
progromer
progromer
توسط progromer مطرح شد
0 پاسخ

انتقال دسیپچ از useEffect


درود دوستان من میخوام دیسپچ رو به فایل اکشنم انتقال بدم همونطور که میبینید من باید این کار رو با useEffectانجام بدم اما این ارور میده "Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.