renderComponentDOM was deferring evaluation of complex expressions (arrays) passed as component kwargs, storing raw AST instead. When the component body later used these values as attributes, the caller's env (with lambda params like t, a) was no longer available, producing stringified arrays like "get,t,src" as attribute values — which browsers interpreted as relative URLs. Evaluate all non-literal kwarg values eagerly in the caller's env, matching the behavior of callComponent and the Python-side renderer. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
70 KiB
70 KiB