You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Cool, that doesn't sound so bad. If we decide to go this route, I might jump in. Don't know for sure yet, but if we decide to pursue Mustache-templates for the thing I'm working on here, this seems like the best starting point for that. 🙂
Do you have a working example of how to integrate this with Sinuous?
Specifically, how to use
observable
to make templates that can update?Can you make
{{#each}}
work withmap
to support lists in the data-model, or how would that work?Or is this designed to just render once and not update? (if so, what's the point of integrating with Sinuous?)
The text was updated successfully, but these errors were encountered: