@reactsnap/pdf is published, but the real PDF backend is not implemented yet. The package exists so teams can see the intended shape early while the browser-side render pipeline matures.
renderToPdf(input, options?)#
import { renderToPdf } from '@reactsnap/pdf';
await renderToPdf(document.getElementById('invoice')!, {
filename: 'invoice.pdf',
});
Current behavior#
The current implementation throws a clear runtime error:
PDF export is scaffolded but not implemented yet.
That message is intentional. The site should keep this page live for discoverability, but it must not imply that production PDF export already exists.
Why keep the page anyway#
- Developers can understand the planned package boundary.
- The
/reactsnapsection stays structurally complete. - Roadmap and API docs tell a consistent story instead of hiding unfinished work.