DioxusLabs / example-projects

Featured Dioxus projects on how to build clean user interfaces in Rust
486 stars 64 forks source link

Updated dependencies #42

Closed GTP95 closed 8 months ago

GTP95 commented 8 months ago

This pr updates the dependencies of all the examples, so that they compile using the latest version of Dioxus. It partially fixes issue #37 and should also fix the problems preventing the merge of pull request #41. Here is the status:

As a side note, it would probably be better to reorganize this repo in the future, so that the examples can be updated to new Dioxus versions separately, instead of forcing one to update all of them at the same time.

GTP95 commented 8 months ago

I just saw that the problem with wifi-scanner is already discussed in issue #10, so my pr isn't introducing any new problem there.

ealmloff commented 8 months ago

jsframework-benchmark, todomvc, and weatherapp compile fine but then crash at runtime with the following error: thread 'main' panicked at 'cannot call wasm-bindgen imported functions on non-wasm targets'. I will not attempt to fix this though, so someone else would have to look into fixing these examples.

Those examples need to be served on the web with dx serve