Patch Changes #2247 6d408c8 Thanks @jeetiss! - ### updates for usePDF hook update function takes the new document and renders it: const PdfView = () => { const [pdf, update] = usePdf(); useEffect(() => { update(<PDFDocument />); }, []); if (pdf.loading) return null; // use your PDF here return <>{pdf.url}</>; };