Reduxأساسي

Création d'un action creator simple pour incrémenter un compteur

السيناريو

Contexte : Une application doit déclencher une augmentation du compteur via bouton. Le Problème : L'action est dispatchée directement sous forme d'objet inline. Contraintes : Créer un action creator dédié. Livrable attendu : Implémenter un action creator réutilisable retournant une action de type INCREMENT.

المهارات المستهدفة

reduxactioncreatordispatchstate

حالات تطبيقية أخرى في ⁨Redux⁩

عرض كل الحالات التطبيقية في ⁨Redux⁩

أسئلة أصلية من تصميم CodeDuel. لا ترتبط CodeDuel بأي ناشر أو هيئة اعتماد مذكورة؛ أسماء الشهادات والعلامات التجارية مملوكة لأصحابها، ولا تُذكر إلا للإشارة إلى المجال الذي يغطيه الاختبار. الإبلاغ عن محتوى