feat: update components and hooks to use get_untracked for improved performance

This commit is contained in:
asepharyana committed 2026-07-04 03:03:36 +07:00
1 parent 8166023f91
commit 27e929580e
85 files changed
+1704 -1844

No files matched your search

+4 -3
View File
@@ -25,9 +25,10 @@ export * from "./pagination.js";
* clear(); // guaranteed to clear the timeout
* }
*/
export function createAbortControllerWithTimeout(
timeoutMs: number,
): { controller: AbortController; clear: () => void } {
export function createAbortControllerWithTimeout(timeoutMs: number): {
controller: AbortController;
clear: () => void;
} {
const controller = new AbortController();
const timeoutId = setTimeout(() => controller.abort(), timeoutMs);
// Unref so the timeout doesn't keep the process alive