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
{{ message }}
This repository was archived by the owner on Apr 4, 2019. It is now read-only.
Currently, it seems like Handlebars-style partials in the form {{> partial-name}} aren't handled correctly. These are parsed by the Handlebars AST parsing into a PartialStatement, which then ends up getting passed into HydrationOpcodeCompiler.mustache. This tries to access mustache.path, which isn't set.
I've managed to hack support in by changing HydrationOpcodeCompiler.mustache to check for mustache.type == "PartialStatement" and treat it as a "partial" helper call (i.e. {{partial "partial-name"}}), but this is super hacky and I don't think it's the right place to do it either. I'm guessing it should be happening in the pre-processing stage, but I'm not sure, as I'm new to HTMLBars (and attempting to use it outside the Ember ecosystem).
Happy to work on this and add support, but need a few pointers on best practices here :)