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 }}
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.
While experimenting with Luis, we noticed that the
ref
attribute theevaluate
function injects to directive callbacks could be incorrectly passed.It happens when
ref.current
isnull
.In that case, a
null
reference is passed here to thegetEvaluate
function.block-interactivity-experiments/src/runtime/hooks.js
Line 47 in 4765ff5
That function then passes down the
null
reference to thevalue
function.block-interactivity-experiments/src/runtime/hooks.js
Lines 33 to 39 in 4765ff5
We should pass the
ref
object togetEvaluate
instead ofref.current
, and passref.current
tovalue
as argument.The text was updated successfully, but these errors were encountered: