Skip to content

Conversation

@bobsingor
Copy link
Contributor

No description provided.

Moved tile refresh handling from component-level event listeners to plugin-level logic by recalculating tiles with a refresh token. Removed unused refresh event emitter and related hooks from both React and Vue tile image components, simplifying their update logic to rely on tile IDs. Cleaned up resource management and improved code clarity in tile image rendering.
Replaces the previous task and blob URL management with a more robust approach using refs and cleanup in watchEffect. Ensures object URLs are revoked only after image load, and aborts render tasks if cleanup occurs before completion. Simplifies dependency tracking and event handling for page refreshes.
@vercel
Copy link

vercel bot commented Oct 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
embed-pdf-snippet Ready Ready Preview Comment Oct 6, 2025 7:59pm
embed-pdf-viewer-react-mui Ready Ready Preview Comment Oct 6, 2025 7:59pm
embed-pdf-viewer-vue-vuetify Ready Ready Preview Comment Oct 6, 2025 7:59pm
embed-pdf-website Ready Ready Preview Comment Oct 6, 2025 7:59pm

Introduces a deepToRaw utility to recursively unwrap Vue refs/reactives, and applies it to annotation rendering to prevent unnecessary re-renders. Also adds a custom stamp tool to the annotation plugin in the Application.vue example and refactors computed properties for annotation props.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants