Closed PredokMiF closed 7 years ago
Hey @PredokMiF, Try:
npm install react-addons-css-transition-group
import TransitionGroup from 'react-addons-css-transition-group
Yes, I already made this, but it is only a hack, I think
It's absolutely not a hack. Just the recommended way by Facebook: https://facebook.github.io/react/docs/animation.html
If it works, PR please
got some news @PredokMiF ?
Reapop v1.0.0 is released - Read breaking changes before update :)
I fix it with webpack.DllPlugin
:
First bundle - 'react', 'react-dom', ..., 'reapop', 'reapop-theme-wybo', 'font-awesome/css/font-awesome.min.css'
Second bundle - my own code.
This plugin can combine librarys in bundle and separate it from your own source code. I like it )
If I load React, Redux etc, as separete scripts and put it to externals in webpack.config.js, webpack all the same include it in to my bundle and I have: react.js and bundle.js (witn second React).
The problem in file
/src/components/NotificationsContainer.js
, line 2:import TransitionGroup from 'react/lib/ReactCSSTransitionGroup';
if I comment it, all works good.I fix it on my side like this: