News for hackers. Stuff that matters.
Re:Show HN: Weeks of Your Life by TimSchumann on Sunday December 24, 2023 @04:44PM (#38757170)
> Any feedback is welcome. Top on my todo list is improving performance (reduce interaction lag).

Maybe don't have it render anything until a valid date post 1800 has been parsed in all fields?

I started typing a date and it rendered the year 0190.

Re:Show HN: Weeks of Your Life by netsharc on Sunday December 24, 2023 @05:41PM (#38757742)
OP needs to learn about window.setTimeout(), or whatever the fancy wrapper function is in their framework of choice.
Re:Show HN: Weeks of Your Life by petemilly on Sunday December 24, 2023 @10:23PM (#38759389)
Thanks for pointing this out. I just updated it to only re-render the grid of weeks when the date input is unfocused (onblur) rather than unnecessarily updating the grid while you're still entering the date.