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
Shadowed memo and createElement calls keep the wrong template callback signature #2589
The production compiler leaves a callable template argument in its runtime-rendered form when the call's local name matches an imported memo or createElement, even when a local binding shadows the import. Reproduced with both compiler and runtime from c34035d7d1474b266127382bb0c6bebc22bb6fc6.
renderToString renders the corresponding <b> element. A client mount through createRoot(container).render(Example) throws Cannot read properties of undefined (reading 'slots') for both exports. The ordinary function should execute the callback and render the element in both environments.
The template-argument exemption currently collects names from the import list and checks the callee spelling. The exemption needs the resolved lexical import. Genuine Octane calls should keep their existing behavior. The distinct portal lowering bug is tracked in #2587.
Activity