My objective involves destructuring a large nested object and assigning its properties to variables. Currently, I am doing it this way:
const { name, country, sunrise, sunset, timezone } =
this.state.weather?.city || {};
const { temp, feels_like } =
this.state.weather.list?.[0].main || {};
Are there any alternative methods that could make this code more concise?