Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using leptos_use with fermyon spin #104

Closed
anvlkv opened this issue May 11, 2024 · 2 comments
Closed

Using leptos_use with fermyon spin #104

anvlkv opened this issue May 11, 2024 · 2 comments

Comments

@anvlkv
Copy link

anvlkv commented May 11, 2024

Hi, I just tried new (0.10.10) version with fermyon spin (it is a wasm32-wasi target) and it appears it would still call some js-sys even with wasm_ssr feature causing an error. I'm using use_local_storage.

Is that the intention to be able to use wasm_ssr instead of ssr for a wasm32-wasi target?

It works fine on 0.10.9 with ssr feature

@maccesch
Copy link
Contributor

maccesch commented May 11, 2024

I didn't change anything exept adding the warning in a build script. So it is very very unlikely that sth broke. Did you remove the ssr feature? Your config is supposed to stay unchanged. Only add the wasm_ssr feature on top to get rid of the warning. Please check the docs

@anvlkv anvlkv closed this as completed May 11, 2024
@anvlkv
Copy link
Author

anvlkv commented May 11, 2024

Thanks! Sorry for disturbance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants