HTMLless
The HTMLless flag allows you to use MainJS on your existing website without MainHTML themes or wireframes.
Developer Features
HTML tags
Main has a HTML element (also known as the <main> tag) and a main ECMAscript library (also known as main.js library,) including head snippet and CSS wireframe.
Less dependencies mode
MainJS optional head snippet features a HTMLless mode allowing you to load the library in an environment with less dependencies on themes and CSS wireframes.
Semantic versioning
MainJS uses semantic versioning for compatibility tracking, feature designation and patch rollout tracking, these are compared between snippets and libraries for quality assurance.
HTMLless performance
MainJS has an optional head snippet, loading this on any page improves performance by handling wireframes, lazy loading style sheets, managing render blocking script resources and base path refactorisation.