Maccesch
|
4d42f7234a
|
use_websocket now uses codecs
|
2024-07-01 02:29:27 +01:00 |
|
Maccesch
|
a8de6a96dd
|
refactored codecs and implemented msgpack and bincode as binary codecs. prost is now a binary codec as well and base64 is available as an adapter.
|
2024-06-07 02:19:07 +02:00 |
|
Maccesch
|
1771d3ac07
|
added delay_during_hydration option to UseStorageOptions.
Fixes #108
|
2024-06-05 11:21:25 +02:00 |
|
Marc-Stefan Cassola
|
3ffe3da49d
|
Merge pull request #79 from mondeja/initial_value_from_url_param
Add options to discover initial color mode from URL param
|
2024-02-16 02:22:47 +00:00 |
|
Maccesch
|
91278df889
|
marked potential improvement for the future
|
2024-02-11 12:23:12 +00:00 |
|
Álvaro Mondéjar Rubio
|
2c36bf0ff6
|
Add initial_value_from_url_param option to UseColorModeOptions
|
2024-02-11 01:03:12 +01:00 |
|
Maccesch
|
0bc7d41953
|
Improved docs of use_storage
|
2024-02-05 19:09:15 +00:00 |
|
Maccesch
|
ee62623950
|
finished use_cookie
|
2024-01-31 16:54:25 +00:00 |
|
Maccesch
|
675a7ff2c9
|
improve use_storage docs
fixes #71
|
2024-01-31 03:11:07 +00:00 |
|
Maccesch
|
7fe153e525
|
added use_broadcast_channel
|
2024-01-29 21:29:39 +00:00 |
|
Maccesch
|
461935ca6b
|
added bin codec
|
2023-12-12 14:53:49 +00:00 |
|
Maccesch
|
28ab799156
|
removed warnings and fixed examples
|
2023-11-13 00:20:58 +00:00 |
|
Maccesch
|
796ea23ddf
|
restored use_storage demo
|
2023-11-12 23:07:10 +00:00 |
|
Maccesch
|
b26459986e
|
brought back use_storage
|
2023-11-12 22:50:59 +00:00 |
|
Joshua McQuistan
|
99803a9bcb
|
Organise storage docs for mdbook
|
2023-11-11 13:15:13 +00:00 |
|
Joshua McQuistan
|
cf33e317a6
|
Rename use_storage.rs to align with mdbook reference
|
2023-11-11 12:56:32 +00:00 |
|
Joshua McQuistan
|
94841e4bb5
|
Document fields on UseStorageOptions
|
2023-11-11 11:05:29 +00:00 |
|
Joshua McQuistan
|
93556a3f8f
|
Fix clippy lint. Remove needless borrow
|
2023-11-11 10:56:46 +00:00 |
|
Joshua McQuistan
|
2976d4c033
|
Fix clippy lints
|
2023-11-11 10:51:23 +00:00 |
|
Joshua McQuistan
|
808e97c072
|
Add JSON versioning docs + examples
|
2023-11-04 15:44:09 +00:00 |
|
Joshua McQuistan
|
7c3ebf09f4
|
Add overview of codec versioning
|
2023-11-04 15:43:36 +00:00 |
|
Joshua McQuistan
|
9a9f1ba7d9
|
Problem: use_storage's default_value with a signal might suggest changing the signal also changes the value used on an unset storage value. Rename to initial value and document this behaviour
|
2023-11-04 13:50:41 +00:00 |
|
Joshua McQuistan
|
af653595a5
|
Problem: use_storage examples have unused imports
|
2023-11-04 13:36:01 +00:00 |
|
Joshua McQuistan
|
389b6e6811
|
Directly use and return read / write signal given by default_value
|
2023-11-04 13:30:36 +00:00 |
|
Joshua McQuistan
|
208451f0c2
|
Update docs to specify that values are synced across multiple use_storage calls on the same page and other tabs / windows
|
2023-10-29 15:44:20 +00:00 |
|
Joshua McQuistan
|
1a27eb0034
|
Problem: docs test broken with missing codec constructors
|
2023-10-29 12:20:23 +00:00 |
|
Joshua McQuistan
|
f3ea5dcd74
|
Fix use_storage for SSR
|
2023-10-29 12:18:45 +00:00 |
|
Joshua McQuistan
|
d267408116
|
Add codec setter to UseStorageOptions
|
2023-10-29 11:58:14 +00:00 |
|
Joshua McQuistan
|
64c6f63d68
|
Fix dead doc ref
|
2023-10-29 11:57:02 +00:00 |
|
Joshua McQuistan
|
6af4cc0693
|
Switch to relying on a codec's default instead of constructors on UseStorageOptions
|
2023-10-29 11:49:03 +00:00 |
|
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
|
7b5456a461
|
Remove storage feature
|
2023-10-27 14:27:53 +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 |
|