diff --git a/docs/functions/default.html b/docs/functions/default.html index e4a3ec98..3857d0c2 100644 --- a/docs/functions/default.html +++ b/docs/functions/default.html @@ -4,4 +4,4 @@ this state accessible to all client components.

Type Parameters

Parameters

Returns [T, ((val) => void)]

Example

const [state, setState] = useRGS<number>("counter", 1);
 
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/types/SetStateAction.html b/docs/types/SetStateAction.html index 7e6933ca..e44d14f9 100644 --- a/docs/types/SetStateAction.html +++ b/docs/types/SetStateAction.html @@ -1 +1 @@ -SetStateAction | Code Documentation

Type alias SetStateAction<T>

SetStateAction<T>: ((val) => void)

Type Parameters

  • T

Type declaration

\ No newline at end of file +SetStateAction | Code Documentation

Type alias SetStateAction<T>

SetStateAction<T>: ((val) => void)

Type Parameters

  • T

Type declaration

\ No newline at end of file diff --git a/docs/types/SetterArgType.html b/docs/types/SetterArgType.html index 975a3a1b..d3e5e6b4 100644 --- a/docs/types/SetterArgType.html +++ b/docs/types/SetterArgType.html @@ -1 +1 @@ -SetterArgType | Code Documentation

Type alias SetterArgType<T>

SetterArgType<T>: T | ((prevState) => T)

Type Parameters

  • T

Type declaration

    • (prevState): T
    • Parameters

      • prevState: T

      Returns T

\ No newline at end of file +SetterArgType | Code Documentation

Type alias SetterArgType<T>

SetterArgType<T>: T | ((prevState) => T)

Type Parameters

  • T

Type declaration

    • (prevState): T
    • Parameters

      • prevState: T

      Returns T

\ No newline at end of file