Skip to content

v0.3.0

Compare
Choose a tag to compare
@benwiley4000 benwiley4000 released this 10 Mar 00:50
· 17 commits to master since this release

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 of componentWillReceiveProps for React 16.3 / async rendering compatibility. Using polyfill for backward compatibility.