Now i’d like to tackle it again, with a native web component library, to look into Lit, hopefully to also provide better mobile support, possibly adding a google/notion calendar connection, or to simply create a shareable native web component calendar module that others can use.
I’m taking a look at lit, I’m seeing this library all over the place from builder.io and most notably it was used to bring Adobe Photoshop to the web.
Photoshop's journey to the web | Articles | web.dev
This will be a journal of my progress with Lit and issues that I come across.
Installing is straight forward, but since this is a class component, i’d appreciate a CLI to generate components. Looking at the docs, there is another project that generates templates whether for a simple web component or web app. I originally went with the former, but found myself creating multiple components. Neither of these scaffolds work with storybook out of the box, but it’s a nice sentiment, I do enjoy using storybook (when it works), and sometimes the hot module reload gets stuck with 0 errors. Saving another working file temporarily fixes the issue.
I’m not sure what the intended folder structure should be, so I’ve got the main entry point being calendar-widget and it’s respective child components under components/ for now.