Re: [css-houdini-drafts] Pure/idempotent representation

_From @appsforartists on September 27, 2016 21:15_

If the animators are already required to be pure, I think the first alternative (an anonymous function with certain values set on it) is the clearest representation.  It's reasonable for an author to assume that a class instance has mutable state that persists across frames.  Otherwise, it ought to just be a function.

If this is the structure of the Houdini APIs in general, it sounds like a bigger discussion.  I'll pick @bfgeek's brain next time I see him.


-- 
GitHub Notification of comment by majido
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/809#issuecomment-417053614 using your GitHub account

Received on Wednesday, 29 August 2018 18:18:45 UTC