![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@unriddle-ai/pdf-viewer
Advanced tools
Easiest way to display and interact with PDFs from your web app.
A dead simple, stylable, React PDF reader component.
Docs: https://pdfreader.fileforge.com
Important: This component is still in development and not ready for production use.
npm i @fileforge/pdfreader
You can add and remove parts of the reader by adding or removing the related components. NB: the Viewport
component always needs to have Pages
and Page
as direct children.
import React from 'react';
import { Root, CurrentPage, ZoomOut, Zoom, ZoomIn, Outline, OutlineItem, OutlineChildItems, Viewport, Pages, Page, CanvasLayer, TextLayer, AnnotationLayer } from '@fileforge/pdfreader';
export const Reader = ({ fileURL }: { fileURL: string }) => {
return (
<Root fileURL={fileURL} className="m-4 border rounded-xl overflow-hidden">
<div className="border-b p-3 flex gap-4">
<CurrentPage className="border bg-white rounded-md text-center py-1" />
<div className="flex border rounded-md">
<ZoomOut className="aspect-square block h-8 w-8">-</ZoomOut>
<Zoom className="py-1 px-2 bg-white" />
<ZoomIn className="aspect-square block h-8 w-8">+</ZoomIn>
</div>
</div>
<div className="grid grid-cols-[24rem,1fr] h-[500px] overflow-hidden">
<Outline className="border-r overflow-auto p-3">
<OutlineItem className="block">
<OutlineChildItems className="pl-4" />
</OutlineItem>
</Outline>
<Viewport className="bg-gray-100 py-4">
<Pages>
<Page className="shadow-xl m-8 my-4 first:mt-8 outline outline-black/5 rounded-md overflow-hidden">
<CanvasLayer />
<TextLayer />
<AnnotationLayer />
</Page>
</Pages>
</Viewport>
</div>
</Root>
);
};
This project is sponsored by Fileforge.
FAQs
Easiest way to display and interact with PDFs from your web app.
We found that @unriddle-ai/pdf-viewer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.