Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Weather App Tutorial - Rendering Forecast
export const WeatherSummary: FC<WeatherSummaryProps> = ({location}) => {
if (!location || !weather || !forecast) return null;
return (
<WeatherEntry weather={weather}/>
{ =>
<li key={timePoint.dt}>
<WeatherEntry weather={timePoint}/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment