Utilize `URL.createObjectURL` for richer file previews, especially for PDFs. This approach provides better compatibility and performance compared to Base64 previews. Introduces memory leak prevention by revoking Blob URLs when the component unmounts or the app resets. |
||
|---|---|---|
| .. | ||
| FileUpload.tsx | ||
| ReviewPanel.tsx | ||