Synphonyte / leptos-use

Collection of essential Leptos utilities inspired by React-Use / VueUse / SolidJS-USE
https://leptos-use.rs/
Apache License 2.0
309 stars 67 forks source link

reexport `cookie::SameSite` #106

Closed JosiahParry closed 3 months ago

JosiahParry commented 4 months ago

The use_cookie() function is very helpful! However, in order to pass options with SameSite, the cookie crate needs to be added. It would be preferable to have the SameSite enum be re-exported in leptos-use so that i don't need to have a second import to use use_cooki_with_options() like shown in the example book.

maccesch commented 4 months ago

makes sense! Could you make a PR?