Skip to content

Provide e2e browser sdk example #12

Open

Description

@stagas

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.

Activity

  1. munrocket commented on Jan 28, 2022

    @munrocket

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions