Open Spone opened 5 years ago
Drawing inspiration from https://github.com/jensljungblad/components#rendering-components-without-a-partial we could have a render method in our component module, that would return the HTML code for the component.
render
It would be a nice performance improvement for very simple modules (icons, buttons...)
This is also the approach taken by mountain view, which you may already know as I saw a issue from you a couple of years ago :smile:
Drawing inspiration from https://github.com/jensljungblad/components#rendering-components-without-a-partial we could have a
render
method in our component module, that would return the HTML code for the component.It would be a nice performance improvement for very simple modules (icons, buttons...)