reactjs - React animation / ReactCSSTransitionGroup -


how make following link - spinner - work reactjs

http://codepen.io/awesome/pen/zngwr

i using webpack:

{ test: /\.css$/, loader: "style-loader!css-loader" } 

i know css working other settings.

i have tried following, using same css file(copy paste local css ).

updated: "return" element, did not write in here. felix kling, noting this.

es6:

render(){       return       <reactcsstransitiongroup transitionname="spinner" >           <div key='test' classname="spinner"></div>       </reactcsstransitiongroup> } 

or

render(){           return           <div key='test' classname="spinner"></div> } 

this(both) gives me circle , no animation.

since asked in comments answer...

i believe problem copying on uncompiled scss instead of compiled css.

hope helps! :d


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -