3 ms·
How would you build a templating framework in JavaScript?
by chris_wot 11y ago
How would you build a templating framework in JavaScript?
- draw_down 11y agoI'm a big fan of Ractive, check it out. Ractive.org
- chris_wot 11y agoTakes me to a page under construction then redirects me to a blank page. Edit: I think you meant ractivejs.org
- Zecc 11y agoI wish we would stop beating around the bush and just add templating to HTML already; not as the current ‛template‛ element proposal, which still looks like DOM manipulation, but actual "expressions inside template attributes and content + data context set in code" like every templating library is doing. And don't forget conditionals and repeaters while you're at it.