meteor-react icon indicating copy to clipboard operation
meteor-react copied to clipboard

Does CSSTransitionGroup work?

Open andrewliebchen opened this issue 10 years ago • 4 comments

Tried to use in the way that the React documentation specifies...

var ReactCSSTransitionGroup = React.addons.CSSTransitionGroup;

...which throws an error. Do CSSTransitionGroups work with Meteor, or a might I be doing something wrong?

andrewliebchen avatar Dec 07 '14 01:12 andrewliebchen

Hi Andrew, I haven't tried transition groups yet, can you post the error?

jhartma avatar Dec 15 '14 08:12 jhartma

I'll try to recreate the error later. If I remember, it didn't like React in var CSSTransitionGroup = React.addons.CSSTransitionGroup'.

I'm a designer tinkering with Meteor and React on the side, so maybe there's an obvious way to assign the CSSTransitionGroup to a variable that I'm missing, but usual React-only way doesn't work.

andrewliebchen avatar Dec 15 '14 16:12 andrewliebchen

Hi @andrewliebchen, I updated to 0.12.2 and transition groups work fine for me. If it doesnt find React then it sounds like a file load order problem. do you call it from within a package?

jhartma avatar Dec 23 '14 08:12 jhartma

No, I was calling it from within the template. I'll pull down the update and check it out. Thanks for working on this!

andrewliebchen avatar Dec 23 '14 17:12 andrewliebchen