chenglou / react-tween-state

React animation.
Other
1.74k stars 70 forks source link

request: ES6 class and not mixin #61

Open danieljuhl opened 7 years ago

danieljuhl commented 7 years ago

Is this module in active development?

React.createClass will be deprecated and removed in one of the next releases. This makes Mixins go away.

Have you considered re-writing as an extendable ES6 class component?

cutemachine commented 7 years ago

+1

danieljuhl commented 7 years ago

I ended up re-writing the module as ES6 for my projects... I will publish it in near future, as it seems like to module author isn't actively maintaining the project anymore

rudza commented 7 years ago

Hi @danieljuhl! Have you published the rewrited module?

LeonidasEsteban commented 7 years ago

pls @danieljuhl :)

rudza commented 7 years ago

Hi, @LeonidasEsteban! For what purpose are you using this package?

danieljuhl commented 7 years ago

@rudza @LeonidasEsteban sorry, I haven't published... I'll publish today, and let you know.

rudza commented 7 years ago

@danieljuhl Don't worry. Found a workaround for this.

dsbhakta commented 7 years ago

@danieljuhl did you publish the es6 supported version? In react 16 i think we wont be able to use it.

dsbhakta commented 7 years ago

@rudza what was the work around?

jnrepo commented 7 years ago

@danieljuhl @dsbhakta @rudza what's the workaround?

danieljuhl commented 7 years ago

@dsbhakta @jnrepo sorry, didn't publish, as I didn't though anyone needed it. I'll publish today...

jnrepo commented 7 years ago

@danieljuhl actually I was able to figure it out. Used react-mixin plugin, had to grab mixin though like reactTween.Mixin and it worked. Thanks though!

OKNoah commented 6 years ago

@danieljuhl Did you ever publish that?

Misiu commented 5 years ago

@danieljuhl any updates? I know this is an old package, but many of us are still searching for tween support and eventually find your package.