naveenkumarr05 / weather-app

0 stars 0 forks source link

DRY #14

Open Oksana13 opened 2 years ago

Oksana13 commented 2 years ago

If we'd have 10 tabs, with this approach we'd need to copy/paste all this state changes a lot of times, which is definitely not DRY

https://github.com/naveenkumarr05/weather-app/blob/89bbedf3d4fd693a7f39c6db777a1ad077478127/src/components/DayForecastView.vue#L31

naveenkumarr05 commented 2 years ago

yeah Correct if we have more tabs then we should go for other way like v-tabs