Remix.run Logo
deepsun 3 days ago

> hx-target attribute is explicitly declared as inherited on the enclosing div and, if it wasn’t, the button elements would not inherit the target from it.

So confusing. I'm pretty sure it should be "inheritable", because "inherited" on an attribute means the attribute is inherited, not the element's children will inherit the attribute.

UPDATE: or "inherit", sounds like a command, little less confusing.

SoftTalker 3 days ago | parent | next [-]

I was going to make the same comment. "inherited" is the wrong word. I like "inherit" too. And it's a bit shorter which is always nice. I guess "bequeath" might work also?

jonahx 3 days ago | parent | prev | next [-]

> I'm pretty sure it should be "inheritable", because "inherited" on an attribute means the attribute is inherited, not the element's children will inherit the attribute.

That is one interpretation, but not the one I had reading it. I read it as "This target will be inherited by its children," rather than "This target is inherited from its parents," which, while a grammatical possibility, doesn't really make sense because you are specifying it right there with the equal sign.

Both "inherit" and "inheritable" have the same possible double readings. Something like "pass-to-children" or "pass-down" would remove the possible ambiguity, but I'm not sure like either better than "inherited".

3 days ago | parent [-]
[deleted]
recursivedoubts 3 days ago | parent | prev | next [-]

yeah, i'm struggling w/it, willing to consider options

wpm 3 days ago | parent | next [-]

“curse”

Like male pattern baldness, we are cursed by our parents to inherit it

PKop 2 days ago | parent | prev | next [-]

"propagate" seems the most accurate name for it

Rendello 3 days ago | parent | prev | next [-]

If you're ok with an imperative verb, "propagate" could fit.

bruce511 3 days ago | parent | prev [-]

Heirloom

mrj 3 days ago | parent | prev | next [-]

Maybe `heritable`?

treve 3 days ago | parent | prev | next [-]

or 'cascade' ?

deepsun 3 days ago | parent [-]

Well, I just remembered that in SQL "ON UPDATE CASCADE" is specified on downstream keys (children), not on their target (parent).

3 days ago | parent | prev [-]
[deleted]