Skip to content

Instantly share code, notes, and snippets.

@mweststrate
Created March 6, 2018 14:43
Show Gist options
  • Save mweststrate/2d48bb1a6ec5f5e5eec3e1a4a949fc38 to your computer and use it in GitHub Desktop.
Save mweststrate/2d48bb1a6ec5f5e5eec3e1a4a949fc38 to your computer and use it in GitHub Desktop.
CityView component
const CityView = observer(({ city }) => (
<li>
City: {city.location} - Temperature in ℃: {city.temperature || 'Loading'}
</li>
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment