openreader/scripts
Richard R d3c7831f70 fix: address hook violations and improve resource reliability
- Refactor useAuthSession to call useSession unconditionally, adhering to React Rules of Hooks by using a stub client when auth is disabled.
- Update migration script to insert a system user to satisfy foreign key constraints during database transitions.
- Implement AbortController and timeouts in entrypoint endpoint polling to prevent hanging fetch requests.
- Use useMemo in PDFViewer to provide a stable file object, preventing unnecessary re-renders and warnings.
- Enhance state cleanup in EPUBContext and AuthLoader to handle missing metadata or disallowed sessions gracefully.
2026-02-15 13:31:06 -07:00
..
migrate-fs-v2.mjs fix: address hook violations and improve resource reliability 2026-02-15 13:31:06 -07:00
openreader-entrypoint.mjs fix: address hook violations and improve resource reliability 2026-02-15 13:31:06 -07:00