1. 👏 Hire someone that’s good at HTML and CSS to build components independent of JS frameworks 👏
2. Plug components into a JS framework and layer on behavior later
3. Pay HTML/CSS devs what they deserve for giving part of your code-base longer shelf life than unpasteurized milk
54 replies
@zachleat This would be nice. Think of an unnecessarily obscure name for this approach and we might be on.
Time to brand this method, y’all: what do you got?
@zachleat BestPractices3
@zachleat Making
Adaptive
Components
&
Creating
Healthy
Engineering
Ecosystems
Saves
Everyone@Aaron incredible
my kids like it too
@zachleat web4
@zachleat Ummmmmm, WebC?
@zachleat The PaCStack (Pasteurized Components Stack)
@zachleat It's a band and roadies model, isn't it? The band make something amazing and long-lasting, the performance and the music which is what people see and hear, but you also need the roadies who come along afterwards and plug everything in and scurry about invisibly backstage.
@zachleat If you're not giving it a milk-adjacent name after that analogy… (Cross-Boundairy Component Development, or CBCD?)
@chriskirknielsen
Whole Components
2% Components
Skim Components
Lactose-free Components@zachleat @chriskirknielsen Or if you're extra hip:
Oat Components
Almond Components
Soy Components@elly @zachleat @chriskirknielsen hola Components
@zachleat WebC-4, an explosive new way to develop for the Web, difficult to master, not for the faint of heart.
@zachleat base jumping
@zachleat The peruvianidol Method. 😂
@zachleat ShelfLife
@zachleat Coincidentally, @slightlyoff recently linked to this blog post, which describes the method. As for a name? What about “Progressive Design System”?
https://blog.almaer.com/building-a-modern-design-system-in-layers/
@zachleat yes pleeeasseeeee
It's past time to value and promote IC who are uniquely skilled at this.
@zachleat Slow down there, Zach. If I do this, how am I going to rebuild my component library in `n` years?
@coogie *backs away slowly*
-
@cthos super pasteurized milk actually lasts a pretty long time 😎
-
@cory just between us I regifted this from myself
@zachleat Long-life components.
@zachleat HTMilk and CookieSS, hi I would like to apply
@zachleat
Call it Web Development 😉@zachleat I’m currently going through this exact issue my current client. It’s All React and styled components, difficult to change any thing.
@zachleat Future Funk
@zachleat I would love to. But how can we do that right now? How can we express components on a way that live natively on the web, as well as in spa flavored contexts?
Everything I can come up with breaks as soon as a component relies on internal state management.
@nachtfunke maybe come up with a way to use a generic adapter for state management?
@zachleat that sounds great, though I feel like it has been possible for a long time - or no? Here's where its apparent that I am just not too JS proficient to know these things :/
I always thought though, that this topic is more about exploring why it hasn't been adapted by SPA flavours and Meta Framework companies who have a stake in lock-
oh, hm...
@nachtfunke there is little incentive for framework authors to buy into this strategy, unfortunately 😬
@zachleat bring back css specialists.
@zachleat @autiomaa I feel #Javascript frameworks often just don't fit into my way of thinking, forcing me to code in their style, rather than my preferred solution for the issue. In addition they become bloated with layers upon layers.
I built my own JS framework, #storkCore, to pretty much be the opposite of that. Slowly adding bits and pieces over the years.
https://chiselapp.com/user/Setok/repository/storkCore/index
Though I guess you could see that it, too, has its own philosophy. It fits my thought model, though.