v0.3.0
features
- Implemented
autoplay
prop which should be true if you want the GIF to start playing on mount. - Implemented
pauseRef
prop - a function which receives a callback to remotely pause the GIF.
other
- Using
getDerivedStateFromProps
instead ofcomponentWillReceiveProps
for React 16.3 / async rendering compatibility. Using polyfill for backward compatibility.