Why in React I can not retrieve data from useState without distructuring? Like this:
const name = useState('kana')[0];
const setName = useState('kana')[1];
I know I can do it like this:
const stateName = useState('kana')
const name = stateName[0];
const setName = stateName[1];
but why I can not do it like I did in first example??