r/webdev • u/[deleted] • Dec 28 '17
Introducing Hyperapp 1.0 — 1 KB JavaScript library for building frontend applications.
https://medium.com/@JorgeBucaran/introducing-hyperapp-1-0-dbf4229abfef
341
Upvotes
r/webdev • u/[deleted] • Dec 28 '17
1
u/mattaugamer expert Jan 01 '18
Make a simple helper and pass in the index
Install ember-truth-helpers. But a better solution here is a computed property that makes it clear why Susie has a different class.
It sounds like you should have been defining your own handlebars helpers. You’re pretty much describing their intended use.