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.
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 useuse_cooki_with_options()
like shown in the example book.