From d595e1b514197cfdb9f5cbc0a070ede77008c182 Mon Sep 17 00:00:00 2001 From: react18-tools Date: Sat, 20 Apr 2024 03:29:27 +0000 Subject: [PATCH] upgrade deps && docs --- docs/assets/navigation.js | 2 +- docs/assets/search.js | 2 +- docs/functions/default.html | 6 +++--- docs/modules.html | 1 - docs/types/SetStateAction.html | 2 +- docs/types/SetterArgType.html | 1 - 6 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 docs/types/SetterArgType.html diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index 6e51377bb..dcd8892e7 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA4uuVipJrShRslIKTi0JLkksSXVMLsnMz1PSUSpILMlQslIqqSxILdZHldXLKMnNUdJRys7MS1GyMjKwNDc0NarVQTarJLXIsSg9pLIgFYtRCElCJqWkpiWW5pQgzEgrzQM7oVgfKoVqgplJbSwAtEx2R9QAAAA=" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA4uuVipJrShRslIKTi0JLkksSXVMLsnMz1PSUSpILMlQslIqqSxILdZHldXLKMnNUdJRys7MS1GyMjKwNDc0NarVgZuVkpqWWJpTgjAkrTQPrLFYHyqFaoKZSW0sAHHnHA+KAAAA" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index 1dcd4cc9f..1497dac83 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA32SzW6DMBCE32V6XREwSar4lmPPqXqxUIRgk6KAQbaTNkK8ewWhkB+So73fzM56XcOUPxZS1ThkOoUU/uo9WAiCjguGxIadY7M2+89zxSAcTQ4Jd67Yzm5q3rcrchCSPLaWLSTQ0AvXjYsdrxOXlfrR9qr40ne5WITLwXW7dZMh793eBvDKlFDFhrV7THfVbj70SnkXH3M3NNsddUfbWV+Zyh0RMp3yL2SNExvbuksIL/RWIOwyztN2F5cehKQsijZR1Ne+OHGlaYkLMvNByqdAeP48ikj9C7r77qKjApAKJqjghhIgJSYocUOFIBVOUGFHdfOd2DhOPy5zKjVspca2H374BzUEZN0046jtqfUdnndUhaMqfKKy7Gy7uLj/VqM4GMXBc7FjE5v9fVx/1PpT2ohQZRXnmWZIFTXNH3isohtVAwAA"; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA4WSzW6DMBCE32V6XfHjlDTxLceeI/ViIYRgo6KCQdikrRDvXhkIJCpVj/Z+Mzu7do+2/jSQqsdHoXNIERxfwkgQdFoxJM5szza1fMpsUWsQuraEhP1u2PiPRe/dViUIWZkawwYSGOjmu4+i3X5xTRJn8L/b0wLemRKatGVtf6e7a/e89Mr5knalXZpdOj3Sxp8rW7ljQqFz/oLsceXWOHcJ4e28IwiXgsvcbW3qQcjqqnKJ4rn2xpmtW0dMiB+AVEBH7xAc4pjUTTDejxcjFYJUuEGFD5QAKbFBiZEak1+5tZy/ThMotey7RzKPFd720yOE7IdhHcKdnO+yuFUlVpX4Q2XYGvck6fxhVnGwioMtcUxoiobLQjOkiofhBx1/8b6dAgAA"; \ No newline at end of file diff --git a/docs/functions/default.html b/docs/functions/default.html index 7e7da7169..8f3d94b06 100644 --- a/docs/functions/default.html +++ b/docs/functions/default.html @@ -1,7 +1,7 @@ -default | Code Documentation
  • Use this hook similar to useState hook. +default | Code Documentation

    • 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
      • Optional value: T

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

      Example

      const [state, setState] = useRGS<number>("counter", 1);
      +

      Type Parameters

      • T

      Parameters

      • key: string
      • Optional value: T
      • Optional serverValue: T

      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/modules.html b/docs/modules.html index fba90e807..d548c7a9a 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1,4 +1,3 @@ Code Documentation

Code Documentation

Index

Type Aliases

Functions

\ No newline at end of file diff --git a/docs/types/SetStateAction.html b/docs/types/SetStateAction.html index e5cdd4de7..73a15e5ee 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

    • (val): void
    • Parameters

      • val: SetterArgType<T>

      Returns void

\ No newline at end of file diff --git a/docs/types/SetterArgType.html b/docs/types/SetterArgType.html deleted file mode 100644 index 5433ad4fa..000000000 --- a/docs/types/SetterArgType.html +++ /dev/null @@ -1 +0,0 @@ -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