I use Pure JS directives for rendering:
http://beebole.com/pure/documentation/rendering-with-directives/
If a node in the template is missing, the default behaviour of Pure JS is to crash due to:
The node "XXX" was not found in the template
This default behaviour is totally comprehensible, because it ensures there are no inconsistencies in the template. In same cases, though, one would like to skip a failing assignment and to proceed with the rest of the assignments (possibly logging the error), to avoid the whole rendering to fail because of a single error / typo.
Is there any way to obtain this behaviour with Pure JS? Can I tell Pure JS to render an element just "if it exists"?