first update report on module 1, adding more reference links (fixed typos)
This commit is contained in:
parent
eff4d47aa7
commit
4c8d1ea51d
15
module1.md
15
module1.md
|
@ -13,15 +13,15 @@ systems. This module is important to ensure frontend decentralization.
|
||||||
|
|
||||||
## ToDo
|
## ToDo
|
||||||
|
|
||||||
- [ ] Research HELIA
|
- [ ] Research HELIA.
|
||||||
- [ ] How to solve the website hashing paradigm
|
- [ ] How to solve the website hashing paradigm.
|
||||||
- [ ] Detect and Report issue (Update this specification)
|
- [ ] Detect and Report issue (Update this specification).
|
||||||
- [ ] Research and test possible solutions.
|
- [ ] Research and test possible solutions.
|
||||||
- [ ] Implement solution to achieve the goal.
|
- [ ] Implement solution to achieve the goal.
|
||||||
|
|
||||||
## Report
|
## 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.
|
imports of Helia.
|
||||||
The following are issues found with the different methods:
|
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
|
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
|
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.
|
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:
|
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).
|
* 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
|
[^4]: https://github.com/Madoshakalaka/yew-interop
|
||||||
[^5]: https://github.com/Madoshakalaka/yew-interop/tree/master/example
|
[^5]: https://github.com/Madoshakalaka/yew-interop/tree/master/example
|
||||||
[^6]: https://rustwasm.github.io/wasm-bindgen/examples/import-js.html
|
[^6]: https://rustwasm.github.io/wasm-bindgen/examples/import-js.html
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue