Skip to content

Instantly share code, notes, and snippets.

@eamonnboyle
Created February 22, 2021 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eamonnboyle/35c1505382bd86c415d3766a36b7fc75 to your computer and use it in GitHub Desktop.
Save eamonnboyle/35c1505382bd86c415d3766a36b7fc75 to your computer and use it in GitHub Desktop.
Weather App Tutorial - Adding More State
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