Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reference to "snabby" #237

Merged
merged 2 commits into from
Jan 31, 2017
Merged

Add reference to "snabby" #237

merged 2 commits into from
Jan 31, 2017

Conversation

jamen
Copy link
Contributor

@jamen jamen commented Jan 29, 2017

I created a new project today called snabby. It is experimental, so I apologize if this list is for vetted modules.

It basically allows you to create virtual nodes using template strings. It also has a snabby.update function inspired from how yo-yo does things.

// Create some vnodes:
var foo = snabby`<div>Hello Earth</div>`
var bar = snabby`<div>Hello Mars</div>`

// Patch to DOM
snabby.update(document.body, foo)

// Patch update
snabby.update(foo, bar)

I was hoping to attract some collaborators, and maybe turn it into something more "official" (whatever that means). Disclaimer that I'm new to Snabbdom, so this is also a learning process for me.

I was initially inspired because of a framework called choo, which uses morphdom (by using yo-yo). I saw benchmarks against the two, and was thinking I could create a module to replace it inside of a fork of choo.

I think some people in choojs/hyperx#36 would also be interested.

@paldepind
Copy link
Member

It looks cool! The list is definitely not only for "vetted modules".

@paldepind paldepind merged commit c1d0cdc into snabbdom:master Jan 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants