Open heapwolf opened 5 years ago
Two decent example apps would be TodoMVC and 2048
Another example might be a login/register form that has multiple inputs and buttons and effectively multiple views ( login or register ).
The nice thing about all of these examples is that they should fit in one file each at <200 loc.
I have reference implementations in mercury
from 5 years ago.
If someone wants to contribute todomvc
or another example make sure to check out tonic components.
https://github.com/optoolco/components
Adding components as a dev dependency to tonic
is perfectly reasonable for authoring examples.
I updated tonic
& components
so that they can be used in jsfiddle.net
Here is an example https://jsfiddle.net/k30haceb/
This allows for easier sharing & debugging of tonic snippets.
Svelte js has a hacker news example. This is a good idea, probably better then todo mvc
adding for those who happen to find the motivation to work on this and need some well-scoped but useful ideas: https://eugenkiss.github.io/7guis/
@achou11 this is the up to date link https://7guis.github.io/7guis/
that link in your comment has stale content now :( https://github.com/eugenkiss/7guis/commit/27f07e514f5a0d620aed17d2debc0f44923ee3e9