TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Declarative Templates: A Better JavaScript View Layer

2 pointsby jugularkillabout 8 years ago

3 comments

Pherdnutalmost 8 years ago
Or just use something like twig where the whole point is to have your view data sorted BEFORE you get to templating, which IMO, is the real source of clutter. Template systems should be boring, stupid, and clean. Making all of the things JavaScript has never been necessary. Definitely better than React or most anything else that's popular though.
tchaffeeabout 8 years ago
&gt; It’s not only pleasantly readable<p>I find JSX to be more readable. &quot;Tags as first class functions&quot; means I have to parse the functions into HTML as an extra mental step when trying to understand the structure and elements that make up the view.
评论 #14385669 未加载
ChicagoDaveabout 8 years ago
I love it. Please build this so I can use it immediately.
评论 #14389301 未加载