Closed JosiahParry closed 1 month ago
We recently moved all the codecs into its own crate called codee
. Leptos 0.7 resources now use that crate as well.
I guess we forgot to update the chapter in the book. Sorry about that!
Gocha! So including codee
to Cargo.toml is the way forward, ya?
You can find the corrected chapter now here: https://github.com/Synphonyte/leptos-use/blob/main/docs/book/src/codecs.md
The use_cookie references a trait
FromToStringCodec
this is not hyperlinked in the docs: https://docs.rs/leptos-use/latest/leptos_use/fn.use_cookie.htmlbelow the example code it references "the codec chapter".
From there, it looks like there is an issue rendering the docs book
the link for
FromToStringCodec
is broken: https://github.com/Synphonyte/leptos-use/blob/main/src/utils/codecs/string/from_to_string.rsIt would be great if the documentation for this handy function provided a reproducible example. As it stands, there is no clear way to use this function—which is a bummer because it looks so useful!