@TRGWII you too man.
And I have one question. When we setting a state containing object will it be replace the whole object or certain value only
```
const [loaders, setLoaders] = useState({loader1: false, loader2: false)};
setLoaders({loader1: true}); // What it really happens? Will it replace the object or spread the object?
Replaces whole object obviously
Обсуждают сегодня