Update to Leptos 0.5 - #6
Conversation
|
@DylanRJohnston is this complete? if so I can help something about |
|
I’m currently using it in my project, but after looking more carefully at the current Axum and Actix implementations I don’t think it properly supports the new static site generation nor providing additional context (such as the worker env). Any help with the KV stuff would be appreciated so it can continue to support that even though I’m using Pages. |
|
Yeah no problem. I will try to add to your work once i have some time. Thanks. |
|
I was actually just investigating using https://github.com/logankeenan/axum-cloudflare-adapter. I think it might be a more sustainable approach than maintaining a Cloudflare <-> Leptos adapter with the rate of progress of Leptos (0.6 was just released recently). All Although Axum does have some annoying Send bounds on things which makes it difficult to work with in a WASM context as all JsValue's are not Send. The benefit though is that you can use all the |
|
Further more, the |
The example will need to be updated to work with this, but I just wanted to share what I had done. I couldn't get the static assets from KV working so I just commented it out as I'm using Cloudflare Pages.