Commit graph

29 commits

Author SHA1 Message Date
Joshua McQuistan
4110a763c9 Document use_storage with examples 2023-10-29 11:41:59 +00:00
Joshua McQuistan
40fdb5f6b5 Add use_storage debounce / throttle on write 2023-10-29 09:45:43 +00:00
Joshua McQuistan
50952581de Clean up of UseStorageOptions default 2023-10-28 12:28:26 +01:00
Joshua McQuistan
c24f0a5d45 Separate StringCodec to separate file 2023-10-28 12:19:33 +01:00
Joshua McQuistan
3ecaade851 Schedule internal use_storage events to notify same page of changes 2023-10-28 12:13:55 +01:00
Joshua McQuistan
1371b81b67 Problem: use_storage value setter differs from existing API too much. Use WriteSignal + separate deleter fn 2023-10-27 19:51:02 +01:00
Joshua McQuistan
d56c5cf514 Problem: use_storage defaults to StringCodec. Allow turbo fish usage and rely on Default 2023-10-27 16:08:51 +01:00
Joshua McQuistan
bbebd8a67f use_storage SSR should return signal with defaults 2023-10-27 14:50:29 +01:00
Joshua McQuistan
861633dd1e Gate prost and serde dependencies behind features 2023-10-27 14:32:03 +01:00
Joshua McQuistan
7bfd069047 Expose generalised use of use_storage_with_options 2023-10-27 14:15:40 +01:00
Joshua McQuistan
fdb9f672d1 Apply use_signal default value via an optional signal 2023-10-27 13:57:36 +01:00
Joshua McQuistan
f3c87a1c50 Move use_storage.rs under storage/ 2023-10-27 12:41:42 +01:00
Joshua McQuistan
bdeadba508 Delete existing storage/ in favour of use_storage.rs 2023-10-27 12:39:58 +01:00
Maccesch
60b4ae2609 fixed use_storage. This fixes #19 2023-08-06 00:31:48 +01:00
Maccesch
58c54bb3e7 migrated away from CloneableFn... traits 2023-08-04 15:58:03 +01:00
Maccesch
a00fe0c4a5 fixed get untracked warning in use_storage 2023-08-02 01:16:13 +01:00
Maccesch
2e08874db0 ported to leptos 0.5 alpha 2023-07-27 18:06:36 +01:00
Maccesch
e55f253e8d use MaybeRwSignal where applicable. Fixes #4 2023-07-15 16:48:29 +01:00
Maccesch
bc94577ec6 added SSR feature 2023-07-14 22:43:19 +01:00
Maccesch
864a5d3be9 fixed Box<dyn Fn> option fields (mostly in default-struct-builder) 2023-07-12 20:46:25 +01:00
Maccesch
fadfcab1c1 added use_cycle_list, use_color_mode and maybe_rw_signal 2023-06-23 22:16:18 +01:00
Maccesch
915127d749 re-added doc cfg feature flag but commented out 2023-06-23 22:13:14 +01:00
Lukas Potthast
b5ddeeda97 Allow users to use the stable toolchain 2023-06-21 13:09:00 +02:00
Maccesch
18ff2f49e1 use_interval callback as box 2023-06-15 20:10:30 +01:00
Maccesch
5e04455640 clippy CI and all warnings fixed 2023-06-10 19:43:51 +01:00
Maccesch
1189da63a2 added use_media_query 2023-06-10 03:19:00 +01:00
Maccesch
e1b4d149e3 added local/session storage 2023-06-10 01:52:21 +01:00
Maccesch
a14842391a added use_storage and use_round 2023-06-10 00:57:35 +01:00
Maccesch
0a5eb5e895 added macro for simple math functions 2023-06-09 23:10:33 +01:00