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
There is some value in allowing this behavior, as we would now be able to infinitely nest indexes, show, etc which may be more intuitive in roblox-ts. I believe @littensy also wanted this, considering that many of the control flow functions in vide are tsx elements there. Being able to treat them as regular components would be really nice for UX.
The text was updated successfully, but these errors were encountered:
Currently, it's not allowed to nest functions when updating children. Following code would error:
We can allow this behavior though through adding a single case to the
update_children_effect
functionwhich would make the first example valid.
There is some value in allowing this behavior, as we would now be able to infinitely nest indexes, show, etc which may be more intuitive in roblox-ts. I believe @littensy also wanted this, considering that many of the control flow functions in vide are tsx elements there. Being able to treat them as regular components would be really nice for UX.
The text was updated successfully, but these errors were encountered: