Which state management is best in React? React’s useState is the best option for local state management. If you need a global state solution, the most popular ones are Redux, MobX, and built-in Context API.
Read moreWhat is state management tool?
State management refers to the management of the state of one or more user interface controls such as text fields, OK buttons, radio buttons, etc. in a graphical user interface . In this user interface programming technique, the state of one UI control depends on the state of other UI controls.
Read moreUse State nedir?
useState() fonksiyonu aslında bir state hook. Bu hook’u, fonksiyon component’i içerisinde çağırıp içerisine istediğimiz state değişkenlerini atayabiliyoruz. Butona tıklanıp tekrar render edilme esnasında React bu state ‘i koruyor.
Read moreReact Native props nedir?
React Js ‘ de her bir component aslında bir fonksiyon. Nasıl görünceklerini, ekranda nasıl bir yer kaplayacaklarını da bu fonksiyonlara verdiğimiz, input değerleriyle belirliyoruz. İşte bu input değerlere props diyoruz.
Read more