examples icon indicating copy to clipboard operation
examples copied to clipboard

Provide e2e browser sdk example

Open stagas opened this issue 3 years ago • 1 comments

It is not obvious how to use @assemblyscript/loader with the browser sdk example, I had to download the loader separately but I see there are some instantiate bits in the dist sources but they're not exported or I can't figure out how to do it.

It would be helpful if we had a full(but simple) e2e example where the compiled binary gets instantiated and used using the loader and maybe also show some passing data back and forth to give the user a head start.

stagas avatar Mar 10 '21 09:03 stagas

Loader documentation is bad. Better to this one https://jtanaka.gitbook.io/guide/getting-started/using-the-loader Also I recommend to check as-bind, later you can use loader if as-bind will be limited for you.

munrocket avatar Jan 28 '22 08:01 munrocket