wowJSが働いていないようです。と反応して反応しない
私はimport WOW from 'wowjs';
componentDidMount() {
const wow = new WOW();
wow.init();
}
を行うが、私はimport { WOW } from 'wowjs';
をすれば、私がすれば、私は
MutationObserver is not supported by your browser. WOW.js cannot detect dom mutations, please call .sync() after loading new content.
を取得TypeError: _wowjs2.default is not a constructor
を得る
componentDidMount() {
const wow = new WOW();
wow.sync();
}
私はそこに立ち往生TypeError: Cannot read property 'nodeType' of undefined
を得る:(
このパッケージはちょうど完全に壊れているようです。https://github.com/matthieua/WOW/issues/252 –
あなたは反応してトランジションを行うために推薦できる他のパッケージですか? –