"This week at Zumuta!" is a consice reading list about what happened in the Zumuta! universe in the past week.
I like to remove code. Removed code can't contain bugs. Just make sure there are tests that confirms that the removed code isn't used or that the reduced code still works.
Last week I've read 16 Modern JavaScript Features That Might Blow Your Mind and it turns out that there's now a groupBy method. So, instead of using a forEach and grouping the objects myself, I switch to using this new function.
In the meantime I'm experimenting with replacing Tailwindcss with Vue SFC components that contains just CSS. This has led me to write smaller components. Small components makes it easier to read and maintain the styles of the component. That's the advantage of my greenfield project kwai. There are no constraints imposed and I can decide to replace whatever I want.