Are these two versions compatible?
Setup:
dioxus = { version = "0.7.0-rc.0", features = ["router"] }
dioxus-sdk = { version = "0.7.0-alpha.1", features = ["storage"] }
Issue:
Whenever I call use_persistent(), my app panics in the browser console with the following error:
patch_console.js:1 panicked at /Users/tn19n/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/dioxus_storage-0.1.0-alpha.1/src/persistence.rs:20:19:
called `Result::unwrap()` on an `Err` value: RuntimeError
Stack:
Error
at http://127.0.0.1:8080/wasm/portfolio.js:1188:21
at logError (http://127.0.0.1:8080/wasm/portfolio.js:43:18)
at imports.wbg.__wbg_new_8a6f238a6ece86ea (http://127.0.0.1:8080/wasm/portfolio.js:1187:66)
at http://127.0.0.1:8080/wasm/portfolio_bg.wasm:wasm-function[35920]:0xbf4a89
at http://127.0.0.1:8080/wasm/portfolio_bg.wasm:wasm-function[20853]:0xb08982
at http://127.0.0.1:8080/wasm/portfolio_bg.wasm:wasm-function[5804]:0x8129ad
at http://127.0.0.1:8080/wasm/portfolio_bg.wasm:wasm-function[31759]:0xbc847b
at http://127.0.0.1:8080/wasm/portfolio_bg.wasm:wasm-function[26998]:0xb84155
at http://127.0.0.1:8080/wasm/portfolio_bg.wasm:wasm-function[11708]:0x9bb36d
at http://127.0.0.1:8080/wasm/portfolio_bg.wasm:wasm-function[15353]:0xa60720
console.error @ patch_console.js:1
portfolio_bg.wasm:0xbf64be Uncaught RuntimeError: unreachable
at portfolio_bg.wasm:0xbf64be
at portfolio_bg.wasm:0xbf63b4
at portfolio_bg.wasm:0xbf4751
at portfolio_bg.wasm:0x9bb3a6
at portfolio_bg.wasm:0xa60720
at portfolio_bg.wasm:0xbf5e0c
at portfolio_bg.wasm:0xbe67d1
at portfolio_bg.wasm:0xbe67fe
at portfolio_bg.wasm:0xab0467
at portfolio_bg.wasm:0x8d1b41