** React** da cookie fayllarini saqlash va boshqarish uchun `js-cookie ` kutubxonasi yordamida foydalanish mumkin. Ushbu kutubxonadan qanday foydalanish haqida qisqacha ma'lumot: 1. `js-cookie ` kutubxonasini npm yoki yarn yordamida o'rnating: ``` npm js-cookie ``` * yoki * ``` yarn js-cookie `` qo'shing 2. React komponentingizga ```-cookie kutubxonasini import qiling: ``` cookie fayllarini import qiling 'js-cookie'; ``` ` 3. Cookie o'rnatish uchun `` cookie fayllarini ishlating. set_method: ``_Cookies. set_name', 'value', {expires: 7); } ``_en_name
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence