Created
February 22, 2021 15:27
-
-
Save eamonnboyle/745d97c426f6d14460951f257a9db3a0 to your computer and use it in GitHub Desktop.
Weather App Tutorial - Tidy Up State
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function App() { | |
const [locationSearch, setLocationSearch] = useState(''); | |
const [locations, setLocations] = useState<string[]>([]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment