Skip to content

Better Examples #1039

Open
Open
@ddouglas

Description

@ddouglas

Note: This should be converted to a discussion

As somebody who really appreciates this lib and I'm eager to put some projects together to get a better understanding of PWAs and WASM in general, there is a severe lack of examples that one can use just to get started and get a base level understanding of how to use this library. There are good examples on the individual features, but what is missing is how they tie together.

I'd like to see about getting those examples put together by some of veterans of this repo that I've noticed are repeat commenters on issues. Until we can get these added to the main docs site, I'd like this issue/discussion be used to house links to them for future googlers of Golang WASM libs. I'll kick us off:

Request/Response for External Data

While looking at another issue by @krusty in #1038, I stumbled on an await package that he has in there that demo's what this process looks like. Up until I saw this, I naively thought that this would be much much simplier. Because of his work in this folder, I'll be more preprared when I get to this point in my apps development

https://github.com/krustowski/littr/blob/master/cmd/await/README.md

Examples Needed

  • Examples of handling CRUD Lifecycle
  • Example Applications such as the ever famous Todo List App (I'm actually working on this one)
  • Explanation on why and if the Range func is prefered over looping and building a slice of app.Compo's instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions