From 170921605503d356b9c957652373e1a2eb9bd951 Mon Sep 17 00:00:00 2001 From: react18-tools Date: Fri, 14 Jun 2024 03:46:11 +0000 Subject: [PATCH] upgrade deps && docs --- docs/assets/navigation.js | 2 +- docs/assets/search.js | 2 +- docs/functions/index.index.html | 12 ++++++++++++ docs/functions/index.useRGS.html | 12 ------------ docs/functions/plugins_persist.persist.html | 2 +- docs/functions/utils.createHook.html | 2 +- docs/functions/utils.createSetter.html | 2 +- docs/functions/utils.createSubcriber.html | 2 +- docs/functions/utils.initWithPlugins.html | 2 +- docs/functions/utils.useRGSWithPlugins.html | 2 +- docs/functions/with_plugins.create.html | 2 +- docs/functions/with_plugins.withPlugins.html | 2 +- docs/interfaces/plugins_persist.PersistOptions.html | 6 +++--- docs/modules/Guides.html | 2 +- docs/modules/index.html | 4 ++-- docs/modules/plugins.html | 2 +- docs/modules/plugins_persist.html | 2 +- docs/modules/utils.html | 2 +- docs/modules/with_plugins.html | 2 +- docs/types/utils.Plugin.html | 2 +- docs/types/utils.SetStateAction.html | 2 +- docs/types/utils.SetterArgType.html | 2 +- docs/types/utils.ValueType.html | 2 +- docs/types/utils._internal_.Listener.html | 2 +- docs/types/utils._internal_.Mutate.html | 2 +- docs/types/utils._internal_.RGS.html | 2 +- docs/types/utils._internal_.Subscriber.html | 2 +- docs/variables/Guides.A_Quick_Start.html | 2 +- docs/variables/Guides.B_Leveraging_Plugins.html | 2 +- docs/variables/utils.globalRGS.html | 2 +- 30 files changed, 43 insertions(+), 43 deletions(-) create mode 100644 docs/functions/index.index.html delete mode 100644 docs/functions/index.useRGS.html diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index 7303f4fd..ddec113b 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA6WWW2/TMBSA/4v72sIu3dAqhFRexsMQlyJ4mKbISc4Sq14S2cdrJ8R/R43JxY4vAV7jz1/OJfbJ/U+CcESyIbeK5SDJkjQUS7IhT3WuOMjX+vmrEp84WZI9q3KyuViSrGQ8F1CRzX2v2CZfFMv2yQ6pwMH0TAWj6chlcKb58uLXsve9T+7gGQQtWFUkn7kqWCUDWhc+sT+M/KzK4TjNuH08K2H9kpBh0SNatD6/WV+erUdB7AB3SBG2GbI67JqgASeC2Iri20sDMaVB+oxKwtfb3aB6VFUbRCfT62bRrtdGtRu7gV04jatVvoqDkEzip6Z9edi1mMC+7BoNRnQD9a+e5A/wX6myCkE80syhNbdYb7m6DkU6NNSWOmNuezvurkLGHf1oH89K922bV0X5O58l6YhklvCOSYQKxKDDl8Yl60DLenbz5vxqfB19VKfDF9VpLCYzTpPHNDlRDg1ktcjjphZzypYk41TK016Zr5hcwVHvIuMLRaUyEyydUc0Bdcc+/mjs+3Os1Gux/H2359hkMjOMrrvTEg5IzPedcgV+V78c8xS8Tik3PpthAmpXjwRmaiaAInyo673r7GvPwEwOvS3SpYipNBWXqdT+yDy+DgwoWcXwB8Ny8t9gKy0woNRDbpZ0ggZH44FhufLOx9Nq8jdDMhCn17lwbfLNOd0FV/aGV2OBgh7CpTRkh2AtH34DQMxza8kKAAA=" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA6XWW2+bMBQH8O/ivJKtl7RTo2lS9pI9dNoWpu2hqpCBU7DiGuRLk2rad5+Cy834wtpX+PuHzzHY3P1BEo4SrdFWkRwEilCNZYnW6LHKFQXxXl9/V8pHiiK0JyxH64sIZSWhOQeG1ncdsUl+KJLtk1hiLnvpCXOC04E1yo3ly4u/Ued9Tm7hCTguCCuS71QVhAkPa4tP9PuBT1gOx2nFzeVZBeuH+IRFF9HQ6vxmdXm2GkwiBhlLLGGTSVL5rUnUY0rgG178fK4hRI6SLtFo1YNizRxay9Ky69Wo17W5fO1kattCufoNXBAhv9XNs/3WYhJ21VbrYIDrU691kpfAm0olTAJ/wJmFHQ8xnnJ17Ztpv54map1zs7bD1VWSUMt6NJdnlfuxqYth+smlJG0imQXeEiGBAe85+VzbsDZoqGc3H86vhpvRV3X69IKcjoWw3TYOSrttHGQgq3gelpqYFYtQRrEQp7EiXxKxhKMehYbbiUpFxkk6o5t91D734Utj7p5DUt8L1e/aO4fSODNDtO2cBthHQt4vTBW4re52yClolWI6em36809bXcRzomYcsIQvVbW3ffva6TOTj96EdCtClE6FMZWaL5nDa4MekjAifxNZTv4aTNIIekglYLeNZ6GTqPdoPBBZLp3n4+lu8j+HpGeeTnNhG+Q65/Qq2KofuTrmaejB38oRdvD28v4fxirZ58cKAAA=" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index cb28aad0..5dd85e3d 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA+09247cOHb/Ij/ED1pZvImSMTPAJA+bABtkNw42D16joa5WVQmukmp06Xav4X8PeC0eSlSx7N15ylPTEs+F535Iqvw1GfqXMXn/8Wvyue2ekvc4Tbr63CTvkz/O7VMzJmkyD6fkfXLun+ZTM75Tj7PjdD4labI71ePYjMn7JPmWGhzkiuTXh7/M7e7zw4epHiaL67ke2vrRwQamreBOk0s9NN10ZWuV2r8+/Kl5bob60HaHhz+f5kPbjWGia7PvpH0l3XZPzZeFsOTTTVkV1KKYx+a///jB4tjP3W5q+85gUa+3GVRcrPF38aRhOLwE172B5d2lGcZ2nELYHvT7bayssHj/rOb/10Uu2KJtu6kZ9vVuBTOE2JaKz/WVB5Tjq/zH1273naTfaNgo+h6CIDtTP9SH5rs5suA/yJRjob7arybqcxQ2gCi9XC1untrT0mrl023ryiuO2BXPh2aamuHX4fA/r5erTKfXi8UGZmwzrpjaJPZhqqfmVymdEDVnyn3kCsbI1XceHqaNJflE3tjpG7Q8wI2V/rU+zU1QpPbtfetzIvrh1D/WJzcsXsO4omFn3CnDq1Xvhqaemg/z425oH5thxboVJW/ej9KT5naLmJz0g5T+ve8/36AjpvyYyav8uWoF6tU/ycQd5HGmrR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plF++YIlqeMRhQ/Z/UwPYyIlI/N4NnKRE7ic8t/IQ8wt9eak+w4Y9XHKDmtPN65og8+3KEN1lR8FuKlQtBL613OB38xsnl09/7Je7R8H1HMgKXd9wU3geEYL13wSx4m9+DW42AztkaWXHBdRRvP6oBgukqojl9reHucvALNUdUr/0M5fS90fa1n72T77iw9ylNLu2lObVdk7z/+Onbt/8DM7snTN9wAAA="; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA+09247bOJb/4jxsHjSKeNMl6G6gZx96F5jFzk4Wsw+ZoKByybYQW3JLclVqgvz74vBmHkqU6fRMP81TMRLPhed+SMr5uhn6l3Hz/uPXzee2e9q8p8mmq0/N5v3ml0v71IybZHMZjpv3m1P/dDk24zv1OD1Mp+Mm2WyP9Tg24+b9ZvMtMTjYFcnPD/9zabefHz5M9TBZXM/10NaPDjY0bQF3sjnXQ9NNV7YWqf3x4U/NczPU+7bbP/z5eNm33RgmujT7TtpX0m331HyZCUs+XZVVzgModpduO7V9Z5CEUDnsKQRL3J09WRj+zsFVr2B5d26GsR2nELYH/X4dq8gt3j+r+f99luu1aNtuaoZdvV3AjCHWpeJzfeWBZPQq/fG1234n6TcaNoq+hyDIztQP9b75bo4s+G9kyrFPX+1XC/U5ChtAlF6uFneZ2uPcauXTdevKqoKIK54PzTQ1w8/D/n9fz1eZTq9niw3NWGdcMbVK7MNUT83PUjohas6U+8jlQrCr7zw8TCtL8om8sdNXaHmAKyv9a328NEGR2rf3rc+J5/tj/1gf//LLh4UgrmjYGXfK8GrV26Gpp+bD5XE7tI/NsGDdipI377fSk+Z2i5ic9Bsp/Ufff75BB6b8NpNX2XPRCtSrf5KJO8jjTFszGgi6bddOkXRSPfc2sVQz9g9ZniSrMf6B3ENfMRxYeN/9+6Hu9tFcOPN/bwEY0kYI7C4hWMYDFVg7/V87HfzS0Xcbb953e+hlbP7yy4cYirOZd/qrJfnSToc/hMpBePkQUxPOoswC4wiZmrXONGIt0lhuk3ujxzfC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GC9d7UseJ3fg1uMgM6pGltwwWUUbz+qAcGJKqItfa3xvnLwEzVHVK/9Bcvpe6Pta3/xzrzjwt6nZHNuz82x7ZrN+4+fvn37fwqWi7LfcAAA"; \ No newline at end of file diff --git a/docs/functions/index.index.html b/docs/functions/index.index.html new file mode 100644 index 00000000..3597508b --- /dev/null +++ b/docs/functions/index.index.html @@ -0,0 +1,12 @@ +index | React18 Global Store
  • Use this hook similar to useState hook. +The difference is that you need to pass a +unique key - unique across the app to make +this state accessible to all client components.

    +

    Type Parameters

    • T

    Parameters

    • key: string

      Unique key to identify the store.

      +
    • Optional value: ValueType<T>

      Initial value of the store.

      +

    Returns [T, SetStateAction<T>]

      +
    • A tuple (Ordered sequance of values) containing the state and a function to set the state.
    • +
    +

    Example

    const [state, setState] = useRGS<number>("counter", 1);
    +
    +
\ No newline at end of file diff --git a/docs/functions/index.useRGS.html b/docs/functions/index.useRGS.html deleted file mode 100644 index 6865a296..00000000 --- a/docs/functions/index.useRGS.html +++ /dev/null @@ -1,12 +0,0 @@ -useRGS | React18 Global Store
  • Use this hook similar to useState hook. -The difference is that you need to pass a -unique key - unique across the app to make -this state accessible to all client components.

    -

    Type Parameters

    • T

    Parameters

    • key: string

      Unique key to identify the store.

      -
    • Optional value: ValueType<T>

      Initial value of the store.

      -

    Returns [T, SetStateAction<T>]

      -
    • A tuple (Ordered sequance of values) containing the state and a function to set the state.
    • -
    -

    Example

    const [state, setState] = useRGS<number>("counter", 1);
    -
    -
\ No newline at end of file diff --git a/docs/functions/plugins_persist.persist.html b/docs/functions/plugins_persist.persist.html index 5425d626..9657c352 100644 --- a/docs/functions/plugins_persist.persist.html +++ b/docs/functions/plugins_persist.persist.html @@ -1,3 +1,3 @@ persist | React18 Global Store
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/functions/utils.createHook.html b/docs/functions/utils.createHook.html index 517ce696..689ab506 100644 --- a/docs/functions/utils.createHook.html +++ b/docs/functions/utils.createHook.html @@ -1,2 +1,2 @@ createHook | React18 Global Store
\ No newline at end of file +

Type Parameters

Parameters

Returns [T, SetStateAction<T>]

\ No newline at end of file diff --git a/docs/functions/utils.createSetter.html b/docs/functions/utils.createSetter.html index b61e35ec..9ad04bda 100644 --- a/docs/functions/utils.createSetter.html +++ b/docs/functions/utils.createSetter.html @@ -1,2 +1,2 @@ createSetter | React18 Global Store
\ No newline at end of file +

Type Parameters

Parameters

Returns SetStateAction<unknown>

\ No newline at end of file diff --git a/docs/functions/utils.createSubcriber.html b/docs/functions/utils.createSubcriber.html index 6a3891ac..826a88a8 100644 --- a/docs/functions/utils.createSubcriber.html +++ b/docs/functions/utils.createSubcriber.html @@ -1,2 +1,2 @@ createSubcriber | React18 Global Store
\ No newline at end of file +

Parameters

Returns Subscriber

\ No newline at end of file diff --git a/docs/functions/utils.initWithPlugins.html b/docs/functions/utils.initWithPlugins.html index 2fdeffac..2f8a7d65 100644 --- a/docs/functions/utils.initWithPlugins.html +++ b/docs/functions/utils.initWithPlugins.html @@ -1,2 +1,2 @@ initWithPlugins | React18 Global Store
  • Initialize the named store when invoked for the first time.

    -

    Type Parameters

    • T

    Parameters

    • key: string
    • Optional value: ValueType<T>
    • plugins: Plugin<T>[] = []
    • doNotInit: boolean = false

    Returns void

\ No newline at end of file +

Type Parameters

Parameters

Returns void

\ No newline at end of file diff --git a/docs/functions/utils.useRGSWithPlugins.html b/docs/functions/utils.useRGSWithPlugins.html index e83a3ca9..a1d47603 100644 --- a/docs/functions/utils.useRGSWithPlugins.html +++ b/docs/functions/utils.useRGSWithPlugins.html @@ -11,4 +11,4 @@

Example

const [state, setState] = useRGS<number>("counter", 1);
 
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/functions/with_plugins.create.html b/docs/functions/with_plugins.create.html index cf11e781..d55ab252 100644 --- a/docs/functions/with_plugins.create.html +++ b/docs/functions/with_plugins.create.html @@ -7,4 +7,4 @@

Example

// in hook file, e.g., store.ts
export const useMyRGS = create<type>(key, value, plugins);

// in component file
const [state, setState] = useMyRGS();
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/functions/with_plugins.withPlugins.html b/docs/functions/with_plugins.withPlugins.html index 04ef0a4a..1715b0d7 100644 --- a/docs/functions/with_plugins.withPlugins.html +++ b/docs/functions/with_plugins.withPlugins.html @@ -1,4 +1,4 @@ withPlugins | React18 Global Store
  • Creates a hook similar to useRGS, but with plugins to be applied on first invocation.

    Type Parameters

    • T

    Parameters

    • plugins: Plugin<T>[]

      Plugins to be applied to the store.

    Returns (<U>(key, value?, doNotInit?) => [U, SetStateAction<U>])

    A hook that automatically initializes the store (if not already initialized) with the given plugins.

    -
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/interfaces/plugins_persist.PersistOptions.html b/docs/interfaces/plugins_persist.PersistOptions.html index ef2ca91e..7693d687 100644 --- a/docs/interfaces/plugins_persist.PersistOptions.html +++ b/docs/interfaces/plugins_persist.PersistOptions.html @@ -1,7 +1,7 @@ -PersistOptions | React18 Global Store
interface PersistOptions {
    storage?: "local" | "session" | "cookie";
    sync?: boolean;
}

Properties

storage? +PersistOptions | React18 Global Store
interface PersistOptions {
    storage?: "local" | "session" | "cookie";
    sync?: boolean;
}

Properties

Properties

storage?: "local" | "session" | "cookie"

Default Value

local
 
-
sync?: boolean

Default Value

true
+
sync?: boolean

Default Value

true
 
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/modules/Guides.html b/docs/modules/Guides.html index 5bb90858..42549a1b 100644 --- a/docs/modules/Guides.html +++ b/docs/modules/Guides.html @@ -1,3 +1,3 @@ -Guides | React18 Global Store

Index

Variables

A_Quick_Start +Guides | React18 Global Store
\ No newline at end of file diff --git a/docs/modules/index.html b/docs/modules/index.html index bfc879a7..f3b3f48d 100644 --- a/docs/modules/index.html +++ b/docs/modules/index.html @@ -1,5 +1,5 @@ -index | React18 Global Store

References

Plugin +index | React18 Global Store

References

Functions

Functions

References

Re-exports Plugin
Re-exports SetStateAction
Re-exports SetterArgType
\ No newline at end of file diff --git a/docs/modules/plugins.html b/docs/modules/plugins.html index 56473e18..daa24996 100644 --- a/docs/modules/plugins.html +++ b/docs/modules/plugins.html @@ -1,3 +1,3 @@ -plugins | React18 Global Store

References

PersistOptions +plugins | React18 Global Store

References

Re-exports PersistOptions
Re-exports persist
\ No newline at end of file diff --git a/docs/modules/plugins_persist.html b/docs/modules/plugins_persist.html index 6a3ac1fc..2a2b1071 100644 --- a/docs/modules/plugins_persist.html +++ b/docs/modules/plugins_persist.html @@ -1,3 +1,3 @@ -plugins/persist | React18 Global Store

Index

Interfaces

PersistOptions +plugins/persist | React18 Global Store
\ No newline at end of file diff --git a/docs/modules/utils.html b/docs/modules/utils.html index d8715945..2c41539c 100644 --- a/docs/modules/utils.html +++ b/docs/modules/utils.html @@ -1,4 +1,4 @@ -utils | React18 Global Store

Index

Modules

<internal> +utils | React18 Global Store

Index

Modules

Type Aliases

Plugin SetStateAction SetterArgType diff --git a/docs/modules/with_plugins.html b/docs/modules/with_plugins.html index b0d8f603..5e237042 100644 --- a/docs/modules/with_plugins.html +++ b/docs/modules/with_plugins.html @@ -1,4 +1,4 @@ -with-plugins | React18 Global Store

References

useRGSWithPlugins +with-plugins | React18 Global Store

References

Re-exports useRGSWithPlugins
\ No newline at end of file diff --git a/docs/types/utils.Plugin.html b/docs/types/utils.Plugin.html index 4486dceb..0c5de566 100644 --- a/docs/types/utils.Plugin.html +++ b/docs/types/utils.Plugin.html @@ -1 +1 @@ -Plugin | React18 Global Store
Plugin<T>: {
    init?: ((key, value, mutate) => void);
    onChange?: ((key, value?) => void);
}

Type Parameters

  • T

Type declaration

  • Optional init?: ((key, value, mutate) => void)
      • (key, value, mutate): void
      • Parameters

        • key: string
        • value: T | undefined
        • mutate: Mutate<T>

        Returns void

  • Optional onChange?: ((key, value?) => void)
      • (key, value?): void
      • Parameters

        • key: string
        • Optional value: T

        Returns void

\ No newline at end of file +Plugin | React18 Global Store
Plugin<T>: {
    init?: ((key, value, mutate) => void);
    onChange?: ((key, value?) => void);
}

Type Parameters

  • T

Type declaration

  • Optional init?: ((key, value, mutate) => void)
      • (key, value, mutate): void
      • Parameters

        • key: string
        • value: T | undefined
        • mutate: Mutate<T>

        Returns void

  • Optional onChange?: ((key, value?) => void)
      • (key, value?): void
      • Parameters

        • key: string
        • Optional value: T

        Returns void

\ No newline at end of file diff --git a/docs/types/utils.SetStateAction.html b/docs/types/utils.SetStateAction.html index d7ed8463..60800274 100644 --- a/docs/types/utils.SetStateAction.html +++ b/docs/types/utils.SetStateAction.html @@ -1 +1 @@ -SetStateAction | React18 Global Store

Type alias SetStateAction<T>

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

Type Parameters

  • T

Type declaration

\ No newline at end of file +SetStateAction | React18 Global Store

Type alias SetStateAction<T>

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

Type Parameters

  • T

Type declaration

\ No newline at end of file diff --git a/docs/types/utils.SetterArgType.html b/docs/types/utils.SetterArgType.html index 2a63f5d4..b9f3c386 100644 --- a/docs/types/utils.SetterArgType.html +++ b/docs/types/utils.SetterArgType.html @@ -1 +1 @@ -SetterArgType | React18 Global Store

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 | React18 Global Store

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 diff --git a/docs/types/utils.ValueType.html b/docs/types/utils.ValueType.html index 7663a0a5..331c07c5 100644 --- a/docs/types/utils.ValueType.html +++ b/docs/types/utils.ValueType.html @@ -1 +1 @@ -ValueType | React18 Global Store

Type alias ValueType<T>

ValueType<T>: T | (() => T)

Type Parameters

  • T

Type declaration

    • (): T
    • Returns T

\ No newline at end of file +ValueType | React18 Global Store

Type alias ValueType<T>

ValueType<T>: T | (() => T)

Type Parameters

  • T

Type declaration

    • (): T
    • Returns T

\ No newline at end of file diff --git a/docs/types/utils._internal_.Listener.html b/docs/types/utils._internal_.Listener.html index 992345c8..bce1ca99 100644 --- a/docs/types/utils._internal_.Listener.html +++ b/docs/types/utils._internal_.Listener.html @@ -1 +1 @@ -Listener | React18 Global Store
Listener: (() => void)

Type declaration

    • (): void
    • Returns void

\ No newline at end of file +Listener | React18 Global Store
Listener: (() => void)

Type declaration

    • (): void
    • Returns void

\ No newline at end of file diff --git a/docs/types/utils._internal_.Mutate.html b/docs/types/utils._internal_.Mutate.html index c83bbbcc..ac26f791 100644 --- a/docs/types/utils._internal_.Mutate.html +++ b/docs/types/utils._internal_.Mutate.html @@ -1 +1 @@ -Mutate | React18 Global Store
Mutate<T>: ((value?) => void)

Type Parameters

  • T

Type declaration

    • (value?): void
    • Parameters

      • Optional value: T

      Returns void

\ No newline at end of file +Mutate | React18 Global Store
Mutate<T>: ((value?) => void)

Type Parameters

  • T

Type declaration

    • (value?): void
    • Parameters

      • Optional value: T

      Returns void

\ No newline at end of file diff --git a/docs/types/utils._internal_.RGS.html b/docs/types/utils._internal_.RGS.html index 00fb3c08..5a36f071 100644 --- a/docs/types/utils._internal_.RGS.html +++ b/docs/types/utils._internal_.RGS.html @@ -1 +1 @@ -RGS | React18 Global Store
\ No newline at end of file +RGS | React18 Global Store
\ No newline at end of file diff --git a/docs/types/utils._internal_.Subscriber.html b/docs/types/utils._internal_.Subscriber.html index 8dd07cb4..c62e4d3d 100644 --- a/docs/types/utils._internal_.Subscriber.html +++ b/docs/types/utils._internal_.Subscriber.html @@ -1 +1 @@ -Subscriber | React18 Global Store
Subscriber: ((l) => (() => void))

Type declaration

    • (l): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

\ No newline at end of file +Subscriber | React18 Global Store
Subscriber: ((l) => (() => void))

Type declaration

    • (l): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

\ No newline at end of file diff --git a/docs/variables/Guides.A_Quick_Start.html b/docs/variables/Guides.A_Quick_Start.html index a785f40d..88960d18 100644 --- a/docs/variables/Guides.A_Quick_Start.html +++ b/docs/variables/Guides.A_Quick_Start.html @@ -21,4 +21,4 @@
// components/counter.tsx
"use client";

import useRGS from "r18gs";
import { COUNTER } from "../constants/global-states";

export default function Counter() {
const [count, setCount] = useRGS(COUNTER, 0);
return (
<div>
<h2>Client Component 1</h2>
<input
onChange={e => {
setCount(parseInt(e.target.value.trim()));
}}
type="number"
value={count}
/>
</div>
);
}
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/variables/Guides.B_Leveraging_Plugins.html b/docs/variables/Guides.B_Leveraging_Plugins.html index 2242e384..04b750be 100644 --- a/docs/variables/Guides.B_Leveraging_Plugins.html +++ b/docs/variables/Guides.B_Leveraging_Plugins.html @@ -18,4 +18,4 @@
export function MyComponent(props: MyComponentProps) {
const [state, setState] = useMyRGS(props.key, props.initialVal, props.doNotInit);
// ...
}

You can also create your own plugins. Refer to Creating Plugins.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/variables/utils.globalRGS.html b/docs/variables/utils.globalRGS.html index 6115678a..e14f7388 100644 --- a/docs/variables/utils.globalRGS.html +++ b/docs/variables/utils.globalRGS.html @@ -1 +1 @@ -globalRGS | React18 Global Store

Variable globalRGSConst

globalRGS: Record<string, undefined | RGS> = globalThisForBetterMinification.rgs
\ No newline at end of file +globalRGS | React18 Global Store

Variable globalRGSConst

globalRGS: Record<string, undefined | RGS> = globalThisForBetterMinification.rgs
\ No newline at end of file