jhartma / meteor-react

Build UI's in meteor with ReactJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does CSSTransitionGroup work?

andrewliebchen opened this issue · 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?

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

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.

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?

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