What is Redux in simple words?

This is the basic idea behind Redux: a single centralized place to contain the global state in your application, and specific patterns to follow when updating that state . You can use redux to store the state and you can use it to any component without worrying about the hierarchy.

Read more

useEffect nedir?

useEffect fonksiyonunu çağırdığınızda React’e “DOM ile ilgili işlemleri tamamladıktan sonra bu fonksiyonu çalıştır.” demiş oluyorsunuz. Effect’ler component içerisinde oluşturulur. Bu sayede component’in state’ine ve props özelliklerine erişim sağlayabilirler.

Read more

Redux nerelerde kullanılır?

Redux , veri erişiminin tek bir yerden yönetilmesinin yanında, yukarıda anlattığımız state aktarımından doğan problemi de çözmek üzere tasarlanmıştır. Redux ‘ta bütün state verileri store adı verilen bir yerde tutulur. Böylece üst seviye bileşenden alt seviye bileşene state aktarımına gerek kalmaz.7 Ağu 2018

Read more