TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Cloact: Minimalistic React for ClojureScript

118 点作者 danh超过 11 年前

9 条评论

lftl超过 11 年前
While I haven&#x27;t had any time to play with ClojureScript, Om, React, etc. I&#x27;ve been keeping a pretty watchful eye, because the stack looks very appealing.<p>One bit that doesn&#x27;t look appealing to me in Om, or Cloact is the tree-building. Is there anything in ClojureScript and React right now that will let me build templates in HTML and attach functionality via attributes Angular-style?
评论 #7037789 未加载
评论 #7037657 未加载
fourply超过 11 年前
I can&#x27;t see that word without thinking of Cloaca. Cloaca. If you don&#x27;t know what it is, you should. Cloaca.
评论 #7038850 未加载
评论 #7038963 未加载
评论 #7038600 未加载
gcao超过 11 年前
React is nice. I&#x27;ve created a simple library that shares same core concept - map DOM to Javascript objects. The difference is my lib uses Javascript standard data type, array, to represent tag, and hash(or object) to represent attributes, and strings for text contents. With a few tricks, I got a very powerful library - <a href="http://github.com/gcao/T.js" rel="nofollow">http:&#x2F;&#x2F;github.com&#x2F;gcao&#x2F;T.js</a>. You can see an example written in CoffeeScript here<p><a href="https://gist.github.com/gcao/8363743" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;gcao&#x2F;8363743</a>
elwell超过 11 年前
I wish github had better syntax highlighting for Clojure. Different colors for matching parentheses.
评论 #7043333 未加载
jbeja超过 11 年前
IMHO, This look more easy to read than OM
评论 #7037476 未加载
werdnapk超过 11 年前
How does this all work with non-inlined event handlers? I see a lot of on-click, on-change going on in these examples.
评论 #7037979 未加载
elwell超过 11 年前
Sorry for the noob question, but: does this take the place of Hiccup? Or, would one use both at the same time?
评论 #7039002 未加载
评论 #7038942 未加载
评论 #7039600 未加载
smrtinsert超过 11 年前
Wow this looks like an awesome little lib. I love stuff like this.
andyl超过 11 年前
Cloact: unfortunate name.
评论 #7038492 未加载
评论 #7038888 未加载
评论 #7038616 未加载
评论 #7042733 未加载
评论 #7038922 未加载