Echo JS 0.11.0

<~>

tracker1 194 days ago. link 1 point
I just can't get past the type mismatch for useState with an array...

    const temperatureStatePair = useState(23);
    const temperature = temperatureState[0];
    const setTemp = temperatureState[1];

23 is not an array.