Counter Component. The Counter component lets you record events . Each time the component receives an input event, it increases or decreases the counter from a configurable base value. When adding this component to an automation, it is placed in the Global tab of the component tray by default.
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