threepointone/glamor

animation helpers redux

Closed this issue · 1 comments

[no promises on this, just tracking possible solutions]

glamor used to have a keyed function that would let you define rules that would be replaced when it was redefined on the same key. this made it possible to 'reclaim' rules that weren't being 'used', with the onus on the developer to manage these keys. It was meant to be a helper for people wanting to use css for animations (not just @keyframes). however, it crippled glamor's internal design, and made it hard to optimize for the larger set of use cases.

That said, there is a small set of use cases where it useful (eg - aphrodite/#141), so maybe we can make a separate module that does just this?

no-op