npm react-image-crop 10.0.2

latest releases: 11.0.5, 11.0.4, 11.0.3...
23 months ago

No changes for most users.

10.0.1 caused issues when document wasn't defined on the server. Now document is by default as a function that is evaluated during render to fix this.

If you wish to override document you can choose to keep it a function so that it works better with SSR:

class IframeReactCrop extends ReactCrop {
  get document() {
    return window.top.document
  }
}

Don't miss a new react-image-crop release

NewReleases is sending notifications on new releases.