August 09, 2017
There’s certain things about composabililitlity that differ from framework to framework. Especially when it comes to the style cascade. I guess I should try to use the standard? Shadow DOM encapsulation?
It took me far to long to just get to editing this post. I should definitely fix that ASAP. There are a bunch of things that I should do better.
This is a good space to practice
I should look at prettier’s source code. I wonder how easy it is to intercept its AST.
I just came across this quote for the first time.
When applications are done well, they are just the really application-specific, brackish residue that can’t be so easily abstracted away. All the nice, reusable components sublimate away onto github and npm where everybody can collaborate to advance the commons.
— substack from “how I write modules”
Really quick. Idea for learning a codebase. Visuals traces expressed as a graph of the traces through the files, functions, etc. I should make that happen.
(…days later) /*// ⚠️ ⚠🔮 ️be smarter about these things */
I design experiences for users. `<🙃🐢-revise>`That sounds very indulgent, being a user myself.`</🙃🐢-revise>`.
I really need to just be doing everything with custom elements. Editable in browser in design mode. Should be able to have some cool abilities in design mode, using selections and stuff to wrap stuff and stuff. /*// ⚠️ ⚠🔮 ️be smarter about these things */
What’s difficult about using React for this? It might actually be easier to do the whole thing with React rendering custom elements, but then (a) I’d have to load React―not really a problem on desktop application, and (b) I think I’d learn more doing mostly everything by hand.
This whole shebang really could use a refactor.
Even though I gotta stop doing that…I really want to. Not starting quite from scratch but also mostly reusing ideas not implementation.
I always talk about not having the exact tool I need to do these things efficienlty. I really need to make take some effort towards making that tool. component.io seems pretty cool, but definitely not the UI that’s in my mind.