DEV Community

[Comment from a deleted post]
Collapse
 
moreurgentjest profile image
more-urgent-jest

the only real problem I have encountered with it is that you can't pre-compile templates to avoid eval or new Function from being called at run time (for csp).

Collapse
 
ryios profile image
Ryan Mann

You can, you just have to think outside the box.

i.e. all of my templates get compiled to js blobs that get included in my main.js file and then I can use the "html" binding anywhere I want to use them.