I seldom use interactive rebase in the git but recently I learn a best practice from co-worker and I would like to share my experience in here.
I came across this bug about the JavaScript Datetime object. The application set the date to 2019–01–31to the database but when I tried to edit it again on the datepicker, it shown as 2019–01–30. The date set back one day, weird right?
I just found out an interesting fact this morning by using the JavaScript map operator. This is such a common operator and we use it a lot in our daily life.
I came across a useful JS library — validator. It can help to validate different things like isEmail, isUUID, isIn etc. We can use it for the validator in input or anywhere in our application.