معرفی قلاب React useState

تعداد بازدید : 4 | تاریخ انتشار : 06 خرداد 1403 10:28 | مدت زمان : 00:16:32 | دسته بندی : فناوری و رایانه

در این دوره آموزشی قصد داریم تا شما را با اصول برنامه نویسی با زبان React اشنا کنیم. این مجموعه آموزشی یک مجموعه کامل برای آموزش زبان برنامه نویسی React است . 00:00:00 معرفی 00:01:10 setup 00:01:57 import useState 00:02:25 update a string 00:05:38 initial state 00:05:58 increment a number 00:07:29 toggle a boolean 00:09:24 Counter program 00:13:14 Counter CSS 00:16:03 conclusion // React hook = Special function that allows functional components // to use React features without writing class components // (useState, useEffect, useContext, useReducer, and more...) // useState() = A React hook that allows the creation of a stateful variable // AND a setter function to update its value in the Virtual DOM. // [name, setName]

ویدیوهای مشابه