Daniel P H Fox
Daniel P H Fox
Yup - using a Tween or Spring object: ```Lua local currentTime = State(0) local colour = Timeline( Tween(currentTime, TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)), { [0] = Color3.new(1, 0, 0) [0.5] = Color3.new(0,...
Could also be useful in conjunction with timers: https://github.com/Elttob/Fusion/issues/12
Another thing to consider is 'extrapolation behaviour' - what if you pass in a value before the start of the timeline, or after the end? For animation uses, clamping to...
Perhaps 'Keyframes' would be a more appropriate name for this API?
Blocked by #87
One initial vague thought I had was to use a special key generator, kind of like `OnEvent`, to add a syntax sugar for property passthrough from a property table: ```Lua...
A more general solution, which has previously been mentioned in other contexts such as implementing design tokens, would be a `Merge` or `Apply` key which allows for the merging of...
Of course, there's also the current pre-existing solution, which is to operate on the property table directly, though this is a bit messy: ```Lua local function Button(props) local isHovering =...
It's worth understanding why this *isn't* a problem for non-Roblox UI frameworks, too. In the context of web development, this tends not to be an issue, because things like layout...
I do think it's important to consider that simply allowing arbitrary props to be set would likely be a bad idea for encapsulation purposes (and can be done already via...