The purpose of this document is to document why certain choices have been made.
To improve the readability and maintainability of our HTML, we've chosen to use lodash templates. These can be found in the templates folder.
Other options for the template language were underscore templates, mustache or handlebars. We decided against using mustache because it's options were limited for dynamic templating. We decided on using lodash because it is comparable to the other options and we were already planning on using lodash for other parts of our library.
We considered different module styles when introducing modules: AMD, node style and ES6 style. We decided against using AMD
because we don't need any asynchronous operations. ES6 style modules are still very much in their infancy so for now we use node style modules until we think we can switch.