Spoiled by gleam/lustre I took a look at gomponents for sharepa but after
investing some time into replacing the existing template/html based approach,
writing all HTML in go isn't as fun as it sounds. With gleam, conditionals that
return values are built in while gomponens requires a custom If/Iff and Map
function. It also doesn't support a way to map with the index which then casued
me to abandon the aproach alltogether.
I still needed to find a way to make writing reuseable components not suck so I started ripping out tailwind in favor of plain CSS. This greatly improved legibility and revisiting the exsiting pages gives me a chance to fine tune things as well as improve the underlying semantics. I'm not done with this yet but I can feel this bringing back momentum 1.
1: More about momentum in this great talk: How to stick with your projects, even when they're janky - Wilkerson