socketsupply / tonic

A Low Profile Component Framework – Stable, minimal, easy to audit, zero-dependencies and build-tool-free.
http://tonicframework.dev
MIT License
867 stars 24 forks source link

Create example apps #10

Open heapwolf opened 5 years ago

heapwolf commented 5 years ago
Raynos commented 4 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.

Raynos commented 4 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.

Raynos commented 4 years ago

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.

Raynos commented 4 years ago

Svelte js has a hacker news example. This is a good idea, probably better then todo mvc

achou11 commented 1 year ago

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/

rdela commented 1 year ago

@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