You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chip_set hand-writes data-lavash-member because the injector rejects prop refs #129
lib/lavash/chip_set.ex:68 hand-writes its member directive only because as_class_string/1 (data_attr_transformer.ex) accepts string literals but not prop references like @active_class in the class branches. Teaching the member injector to resolve compile-time-known prop defaults (or accept attr refs when they're statically resolvable) removes the last hand-written directive inside lavash's own components.
Note: data-lavash-member itself is deliberately kept (not consolidated into attr derives) — it reads per-row values from phx-value-val inside :for loops, where derives structurally can't go.
Activity