▲ How to compose JavaScript functions that take multiple parameters (the epic guide) at jrsinclair.com▼1 up and 1 down, posted by jrsinclair 195 days ago 1 comment
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.