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
I am experimenting a lot with PlutoHooks. They are still very very complex. Hence I guess it is super helpful if these primitives work 100% as intended, so that one can build an intuition on those primitives instead of thinking about how they work precisely.
The current @use_ref code is
if @use_did_deps_change([])
$ref_ref[] = Ref{Any}($(esc(initial_value)))
end
$ref_ref[]
however if initial_value fails
the Ref stays undefined, which is probably expected, but in addition
if another cell is changed which now retriggers execution of this cell, the following uncomprehensible exception is thrown
Maybe get rid of @use_did_deps_change entirely and rewrite @use_deps so that it can check whether the initialization failed and create a new cell_id the second time. Then use @use_deps instead of @use_did_deps_change.
The text was updated successfully, but these errors were encountered:
Hi there,
I am experimenting a lot with PlutoHooks. They are still very very complex. Hence I guess it is super helpful if these primitives work 100% as intended, so that one can build an intuition on those primitives instead of thinking about how they work precisely.
The current @use_ref code is
however if initial_value fails
One direction of thought how this may be fixed:
@use_did_deps_change
entirely and rewrite@use_deps
so that it can check whether the initialization failed and create a new cell_id the second time. Then use@use_deps
instead of@use_did_deps_change
.The text was updated successfully, but these errors were encountered: