yarn @react-pdf-viewer/core 2.3.2
v2.3.2

latest releases: 3.12.0, 3.11.0, 3.10.0...
3 years ago

Improvements

  • Lazy load the document. The PDF document will be loaded if the viewer container is visible in the viewport.

Bug fixes

Fix a bug that could happen when we load multiple documents by changing fileUrl.
In that case, you may see the error message

  • Worker was destroyed
  • Cannot read property 'sendWithPromise' of null

This version also fixes a potential memory leaks reported by React DevTools when we try to load new document even if the current document isn't rendered completely.

Don't miss a new core release

NewReleases is sending notifications on new releases.