What are props in React? We use props in React to pass data from one component to another (from a parent component to a child component(s)). Props is just a shorter way of saying properties. They are useful when you want the flow of data in your app to be dynamic.
Read moreWhat’s the difference between props and state?
Simply put, State is the local state of the component which cannot be accessed and modified outside of the component . It’s equivalent to local variables in a function. Props, on the other hand, make components reusable by giving components the ability to receive data from their parent component in the form of props.
Read moreReact Native return nedir?
React Native , native kullanıcı arayüzü (UI) bileşenlerini kullanarak çok platformlu Android ve iOS uygulamalarının geliştirilmesine imkan tanıyan bir mobil uygulama geliştirme framework’üdür (yazılım çerçevesi).
Read moreReact Native return nedir?
React Native , native kullanıcı arayüzü (UI) bileşenlerini kullanarak çok platformlu Android ve iOS uygulamalarının geliştirilmesine imkan tanıyan bir mobil uygulama geliştirme framework’üdür (yazılım çerçevesi).
Read moreReact Native State nedir?
React Native ile yapılan uygulamalarda çok fazla kullanılan bir yapı da state yapısıdır. Bu yazıda state nedir ve nasıl kullanılır onu göstermeye çalışacağız. Uygulama açıldığında çağırılan sınıfın constructor fonksiyonu çalışır. Bu fonksiyon ile birlikte state kavramlarını belirtebiliriz.
Read moreReact Native State nedir?
React Native ile yapılan uygulamalarda çok fazla kullanılan bir yapı da state yapısıdır. Bu yazıda state nedir ve nasıl kullanılır onu göstermeye çalışacağız. Uygulama açıldığında çağırılan sınıfın constructor fonksiyonu çalışır. Bu fonksiyon ile birlikte state kavramlarını belirtebiliriz.
Read moreReact Class Component nedir?
Basite indirgemek gerekirse React Component ‘leri kullanıcı arayüzünü şekillendiren, belirli görevleri olan, class veya fonksiyon olarak tanımlanmış, geriye react elementleri döndüren (bir önceki yazımızda bahsettiğimiz JSX), opsiyonel olarak parametre (daha sonra bunlara prop diyeceğiz) alan yapı taşlarıdır.
Read more