- 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. |
||
|---|---|---|
| .. | ||
| migrate-fs-v2.mjs | ||
| openreader-entrypoint.mjs | ||