Re:Show HN: Mizu.js – Lightweight HTML templating library fo...
by gavmor on Thursday December 19, 2024 @07:15PM
(#42467129)
Yes, I know that it's my job to write good code. What I'm wondering is how must I design modules to accommodate this framework?
I guess what's not immediately clear to me is what's in scope for eg eval. I'll have to dig into the docs more than I have.
Write a class or function closure similar to Vue composables.
It's not really the framework or libraries job of making you code more modular; that's your job by writing good code.