Alcumus/react-doc-viewer

Duplicate File loading

Closed this issue · 0 comments

  • Don't initially download the whole file, just fetch the headers and determine the mime-type
  • If a custom renderer needs to load the file itself, add a callback function to run after the mime-type is detected