-
Notifications
You must be signed in to change notification settings - Fork 4
Uncaught Error: CSSTransition.getChildContext() #5
Comments
I'm also getting this error. Do you have an example of how to define the child context keys? |
I am getting this as well. A working example would be great. |
Same here |
thx ConneXNL, your temp fix work like charm. |
Same trouble (( |
Anyone on this? React 16+ CSSTransitionGroup same error.... one little example please if its not too much trouble. "I mean ccccmon" |
@makis-spy just add what @ConneXNL wrote above, it does work
|
@antoniobrandao thanks mate I guess i'm being a noob nit knowing how to specify the child context keys { //child context keys } basically what @RyanWarner was asking would be great. PS google not much help on this. Cheers! |
@makis-spy literally just put a // commented line in there, it's just that "CSSTransition.childContextTypes" has to be declared, even if it is empty.
|
@antoniobrandao O M G mate you rule thank you! |
Hello all. So, before the fix mentioned above worked quite nicely but in my recent project using create-react-app and react 16.5.2 CSSTransition.childContextTypes = { No matter where I add it I still get a lot of warnings Warning: CSSTransition.getChildContext(): childContextTypes must be defined in order to use getChildContext() Any ideas or has anyone encountered and solved this issue? |
I am using React # next and I am getting an error:
Uncaught Error: CSSTransition.getChildContext(): childContextTypes must be defined in order to use getChildContext().
I temporary fixed this with:
I am not too sure why this error occurs but it seems something has changed in react.
The text was updated successfully, but these errors were encountered: