fei

Results 5 comments of fei

![](https://i.loli.net/2018/02/28/5a96560642da4.jpg)

Vue2.0 建议使用官方提供的方法哈 [基于路由的动态过渡](https://github.com/vuejs/vue-router/blob/next/examples/transitions/app.js)

@NeilJee 现在还没时间研究,等有空了看下

```js import React, {useRef} from 'react' import ReactDOM from 'react-dom' import useMount from 'react-use/lib/useMount' import Zmage from 'react-zmage' /** * Zmage 不支持 ssr(代码用到 window 和 document),gatsby 构建时会报错,所以包装一下,在 Mount 里面渲染 *...