Skip to content

Handlebars helpers for Sinuous #49

Closed

Description

@luwes

Kind of curious what would be needed to make this work.
It would be a compiler only, at runtime it would be too slow and heavy.

A handlebars to hyperscript compiler?
Hyperbars looks promising, https://github.com/vincentracine/hyperbars

Additional useful info on the topic here: adamhaile/surplus#26

Activity

  1. self-assigned this
    on Oct 12, 2019
  2. luwes commented on Oct 22, 2019

    @luwes
    OwnerAuthor

    Started a new package here (https://github.com/luwes/hyperstache) with a lightweight handlebars runtime covering the basic handlebars logic. A handle bars to template literals Babel plugin is still todo.

  3. luwes commented on Nov 2, 2019

    @luwes
    OwnerAuthor

    A little follow up on Hyperstache, it's in a good shape now I believe.

    The only thing that is left to make it work seamlessly with Sinuous is to write custom helpers that would add the right mappings. For example each would have to call the Sinuous map module for rendering lists. Also the variable expressions would need to be expanded to observables wrapped in a closure to make everything reactive.

    Gonna leave this work until there is actually need for it.

  4. changed the title [-]Handlebars[/-] [+]Handlebars helpers for Sinuous[/+] on Oct 17, 2020
  5. removed their assignment
    on Oct 17, 2020
  6. Repository owner locked and limited conversation to collaborators on May 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions