JavaScript props nedir?

Props ‘lar , bir componentten başka bir componente veri aktarımı yapmamızı sağlar. Props ‘lar salt okunur (read-only) dir. Değiştirilemezler. Data; ana componentten alt componentlere geçerken alt componentler tarafından herhangi bir değişime uğramaz.19 Nis 2020

Read more

How does React manage state?

State management is simply a way to engender communication and sharing of data across components. It creates a concrete data structure to represent your app’s State that you can read and write . Since React 16.8, every React component, whether functional or class, can have a state.13 Nis 2021

Read more

What are spread operators?

The spread operator is a new addition to the set of operators in JavaScript ES6 . It takes in an iterable (e.g an array) and expands it into individual elements. The spread operator is commonly used to make shallow copies of JS objects. Using this operator makes the code concise and enhances its readability.

Read more