Breakdown of the app
A simple dashboard providing the weather in any location you wish to search for, broken down into 4 different components. The four components consist of weather data such as the current temperature degrees, air quality, daily temperature, location, and daily temperature, with a choice of only two days or the following 5.
What I learned
Usage of promises can invoke "callback hell." Callback hell is a nickname coined for a hierarchical pyramid-like structured code that can be very hard to read, let alone maintain.
I could use a new library that I did not know existed before. It is always fascinating whenever I get to include a new tool in my workflow. To use it, simply include
- it's API for working with date times
- interval support(from time x to time y)
- duration support
- parsing and formatting
- built-in handling of time zones
For this project, I used Luxon mainly for the parsing and formatting of dates.
Soon I will attempt to do both a written and video tutorial for this project. So be on the lookout for that. The video will be uploaded via youtube, another future project of mine/goal. Stay safe!
Did you find this article valuable?
Support Joshua Mendoza by becoming a sponsor. Any amount is appreciated!