Issue № 8: TBD
The Prayer Journal Pentalogy reached its thrilling conclusion
When I say “simplicity,” I am speaking of a lack of complexity, not a naïveté of approach.
Daniel - East TN BTW - I can’t remember who said they weren’t sure about writing about their code publicly. But, whoever you are, in this post I actually talk poorly about my own code. 🙂
Daniel - East TN They can’t talk bad about you if you beat them to it! LOL
Daniel - East TN
If you’ve made anything with htmx/_hyperscript, please share it! It’s lovely to hear from you. 💙
https://blog.bitbadger.solutions/2021/a-tour-of-myprayerjournal-v3/conclusion.html
Wrt. the closest expression
1cg closest means “closest in parent hierarchy”: https://api.jquery.com/closest/
December 10, 2021, 5:34 PM UTC
c-nv-s hmm… I think the use of
nextmakes the same sense as it does in english, but notclosest.c-nv-s If I understand correctly, it’s meaning is more like equivalent (hierarchically speaking)?
c-nv-s …at least in my mind ‘closest’ usually has a spatial connotation
1cg I took the terminology from jQuery. Too baked into my mind at this point
1cg I could allow for a closest child
form, maybe Deniz Akşimşek ↪ Re. 1cg I took the terminology…
enclosingwould perhaps be a better name forclosestbenpate It would be. It’s the constant _hyperscript dilemma of choosing “natural language” vs. “what Javascript has already defined”. In this case, “closest” (although not a good natural language label) is already widely used.
Deniz Akşimşek it’s not that common
Fubarrr 37 billion jquery users would argue with you @Deniz Akşimşek 😁
Deniz Akşimşek most hyperscripters don’t use event delegation (they should) which is the main use case
Fubarrr (not an accurate number, but a close approximation, judging by the number of jquery questions/answer on stackoverflow)
benpate 🍿
Deniz Akşimşek generally if code affects a whole component it should either be at its root or send events that bubble there ☝️ 1
Deniz Akşimşek not reach out from a descendant to the root to manipulate it
Fubarrr That said… I have had to think hard about what “closest” means again more than once… I agree it’s ambiguous
Deniz Akşimşek
component
the framework brain worms are paying the old flowerpot a visit
What do you think about closest?
tables 🤮
1cg AHHHH
1cg that form tag isn’t legal
1cg it isn’t even in the dom I bet
1cg tables 🤮
tables 🤮
