Created
February 22, 2021 15:16
-
-
Save eamonnboyle/35c1505382bd86c415d3766a36b7fc75 to your computer and use it in GitHub Desktop.
Weather App Tutorial - Adding More 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('Paris'); | |
const [locations, setLocations] = useState(['Belfast', 'Dublin']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment