Jet Li

Results 19 comments of Jet Li

upgrade to use trunk, `npx [email protected] my-app`

hi, the design of separate fields for loading/data/error is a bit like SWR lib of js world, data and error could even co-exist for cache/user-friendly reasons, maybe we could not...

Is the demo working with your Chrome on Mac? https://jetli.github.io/yew-hooks/#/use_clipboard

for now , you can just move your dependency states to use_async, see here: https://github.com/jetli/rust-yew-realworld-example-app/blob/3a767a98600ee89e8b79fb23dcd9a7539ed59f36/crates/conduit-wasm/src/routes/login.rs#L20

Since yew supports SSR now , and gloo-net only supports csr, so reqwest might be easy to support ssr later.

have you tried the latest version? `npx create-yew-app@latest my-app`

I didn't test for portal usage, I will take a look for portal since portal is common for model dialogs etc.

hi @tgrushka , could you try the demo here: https://jetli.github.io/yew-hooks/#/use_debounce? I think the current implementation is expected, often used in scenarios like typing and searching which prevents too many requests...