useState — useState Hook’u, React bileşenlerinde durum yönetimi için kullanılır. Bir bileşenin durumu, kullanıcının etkileşimleri sonucunda değişebilir ve bu değişikliklerin takibini yapmak için useState Hook’u kullanılır. import React, { useState } from 'react';
function Example() {
const [count, setCount] = useState(0);
return (
<div>…