neue Homepage auf react basis

This commit is contained in:
2026-08-07 21:39:30 +02:00
parent 164bdd19ad
commit ee89442c04
52191 changed files with 1230242 additions and 58 deletions
+14
View File
@@ -0,0 +1,14 @@
interface ValueRef<T> {
current: T;
next: T;
effect: () => void;
}
/**
* Copied from `@base-ui/utils/useValueAsRef`.
*
* Stores the latest value in a stable ref. The ref updates after React commits,
* so effects and delayed callbacks can read the current value without depending
* on it and rerunning.
*/
export default function useValueAsRef<T>(value: T): ValueRef<T>;
export {};