Skip to content

Instantly share code, notes, and snippets.

@01Clarian
Created Jan 12, 2020
Embed
What would you like to do?
Component that Display Weather
import React from 'react'
const Weather = ({weather}) => {
return (
<div>
<p>{weather.city}</p>
<p>{weather.temperature}</p>
{console.log('Render')}
</div>
)
}
export default Weather
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment