Closed wanderbon closed 3 years ago
@IntelliJAbhishek
Thanks, got rid of the getDerivedStateFromProps.
Can't wait to get this merged.
So I tested it out, and this pull request breaks transitions. To make transitions work, the new styles have to be intercepted before the component rerenders in order to set up a smooth transition to the new styles. You can't just throw everything in componentDidUpdate
and expect it to work. The solution will have to use some combination of getDerivedStateFromProps
and componentDidUpdate
.
I'll give it a shot, though. I'm sick of the constant warnings in my app
@jtibbertsma Help would be greatly appreciated, thx :-)
Hey, does anyone have any information on when this PR will be merged? If no one has worked on the requested changes, I can give it a shot ASAP.
P.S. If anyone is looking to disable YellowBox warnings just for the time being they can use YellowBox.ignoreWarnings([])
.
Who knows when PR will accept ?
@oblador @oliverdolgener please guys, what is stoping this PR?
I will look more into this one later, but for now you can use 1.3.3 to remove the warning.
@wilforlan This pull request breaks features of this library
any updates on this?
Closing this PR, warning is gone for now and it breaks functionality.
@wanderbon You can't use
this
insidestatic
method.