Hacker News new | ask | show | jobs
by tacone 3937 days ago
Interesting.

It reminds a bit of the tag files of riot.js [1] Another possible approach (widely practiced today) is to have the children template extend the main template and override some blocks in the main template (you can do it with twig, blade etc). But even then, your templates could not be nested.

Nice concept!

[1] http://muut.com/riotjs

1 comments

Thanks. It really looks a lot like React, RiotJS and WebCompoments (because they are all great) but it's on the server.