3 ms·
I'm surprised the author didn't mention the use case where I've seen this most often: animation easing. In every JS library I've seen, the strategy pattern was
by teej 15y ago
I'm surprised the author didn't mention the use case where I've seen this most often: animation easing. In every JS library I've seen, the strategy pattern was used for easing functions.
- jugglinmike 15y agoGood point! I don't have much experience with animation libraries, but maybe if I look at some source code I can get a stronger real-world use case for the article...