first update report on module 1, adding more reference links (fixed typos)

This commit is contained in:
itzelot01 2024-01-30 22:54:56 +00:00
parent eff4d47aa7
commit 4c8d1ea51d
1 changed files with 10 additions and 5 deletions

View File

@ -13,15 +13,15 @@ systems. This module is important to ensure frontend decentralization.
## ToDo
- [ ] Research HELIA
- [ ] How to solve the website hashing paradigm
- [ ] Detect and Report issue (Update this specification)
- [ ] Research HELIA.
- [ ] How to solve the website hashing paradigm.
- [ ] Detect and Report issue (Update this specification).
- [ ] Research and test possible solutions.
- [ ] Implement solution to achieve the goal.
## Report
* Upon doing reaserch on helia, we found that some of the methods on implementing JavaScript on Rust with callback and using yew have problems with the
* Upon doing research on helia, we found that some of the methods on implementing JavaScript on Rust with callback and using yew have problems with the
imports of Helia.
The following are issues found with the different methods:
1. With web-pack: While trying to import Helia's libraries on a previosly working app using callback to implement JavaScript on a yew template, we
@ -34,7 +34,7 @@ systems. This module is important to ensure frontend decentralization.
2. After not finding a concrete solution that would help us with the import, I decided to follow the yew tutorial drive through libraries that was very well
documented but a little outdated since it was using yew version 12. Now the problem was the it had two errors that wouldn't let me run the app.
Specific errors found:
* error [E0433]: failed to resolve: unresolved import (a function from the wasm-bindgen.rs that comes from the version of wasm-bindgen that you installed)
* error [E0433]: failed to resolve: unresolved import (a function from the wasm-bindgen.rs that comes from the version of wasm-bindgen that you installed).
* error [E0425]: cannot find the function 'wasm_bindgen_initialized' in this scope (also coming from wasm-bindgen.rs).
@ -86,3 +86,8 @@ security issues.
[^4]: https://github.com/Madoshakalaka/yew-interop
[^5]: https://github.com/Madoshakalaka/yew-interop/tree/master/example
[^6]: https://rustwasm.github.io/wasm-bindgen/examples/import-js.html