There's been another mention of InstantSearch.js being "unsafe" (it uses new Function
) instantsearch.js#3524 and instantsearch.js#2868, so I looked around to alternatives for Hogan (the templating engine).
I found these templating engines. So far I'm not sold on a single one, but here are all of them, grouped per type.
These are all returning either DOM nodes that can be used with appendChild
, or render directly into a node. Here we need to check to make sure they are (or need to be) Node-compatible (most are).
- https://yarn.pm/nanohtml (aka bel)