-
-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
enhancementNew feature or requestNew feature or requestnot ready - evaluatingCurrently gauging feedbackCurrently gauging feedback
Description
Fusion is currently lacking a function which covers for Count = 1, X do. Alternatives we're stuck with look something like this
Scope:Computed(function()
local Table = {}
for Count = 1, 1, 1 do
table.insert(Table, Scope:New("")({})
end
end)Thus, im proposing syntax along these lines, to serve as utility, while also allowing fusion to add optimizations which a Computed can currently not serve, such as not recreating Children when a new one is added, since currently a computed would recreate every instance if the End state was turned from say, 1 to 2.
Scope:ForRange({Start: number, End: number, Increment: number?}, function(Current: number)
return Scope:New("")({})
end)Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestnot ready - evaluatingCurrently gauging feedbackCurrently gauging feedback