Closed AdamJo closed 7 years ago
@AdamJo Are you able to test without preact/devtools
enabled?
@developit Tried commenting out preact/devtools
, no change so far. The span
is being created but no sign of the enter
/ leave
classes being called.
Ok, good to know. What is being rendered as the child of this component? Would be useful to know if it's a pure functional component, a regular component, or an element.
They are 4 pure functional components. I also tested with a class component but got the same results.
I was able to find this guy's work that helped https://github.com/nerijusgood/ng.
Turns out I was passing in my component into CSSTransitionGroup wrong. I'll go ahead and close this issue now that I've got it working.
Running into issues with router transitions. React dev tools is showing that CSSTransitionGroup has been loaded but nothing is triggering the route animations.
I setup a test repo for CSSmodules and SCSS if you want to check it out.