Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
EvanYou
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
EvanYou
10y ago
The Vue-based version is already in good progress and we plan to ship a beta early 2017: https://github.com/weexteam/weex-vue-framework/issues/9
32.
▲
by
EvanYou
10y ago
Did you follow the official guide, step by step? Honestly, I think Vue's official guide is a better starting resource than ANY of the tutorials out there, please don't ignore the official docs and reach for "easy" tutori
33.
▲
by
EvanYou
10y ago
Just so you know Vue 2.0 supports both templates AND JSX (or hand-written render functions): https://github.com/vuejs/babel-plugin-transform-vue-jsx
34.
▲
by
EvanYou
10y ago
vue core, vue-router and vuex 2.0 all have typings shipped directly in the NPM packages.
35.
▲
Vue.js 2.0 released
(medium.com)
33 points
by
EvanYou
10y ago
|
4 comments
36.
▲
by
EvanYou
10y ago
Vue 2.0's vdom is actually forked from snabbdom ;) In particular if you don't need hot updates, adding Object.freeze() to your data will make the rendering 2x faster than React.
37.
▲
by
EvanYou
10y ago
Knockout's perf on large re-renders is below average: http://mathieuancelin.github.io/js-repaint-perfs/knockout/ It also doesn't allow you to use programmatic render functions, nor does it have server-si
38.
▲
Announcing Vue.js 2.0
(medium.com)
187 points
by
EvanYou
10y ago
|
50 comments
39.
▲
CSS still sucks in 2015
(huangxuan.me)
4 points
by
EvanYou
11y ago
|
0 comments
40.
▲
by
EvanYou
11y ago
1) Vue itself has little to do with FRP. "Reactive" doesn't necessarily imply FRP in any way. However it's pretty easy to use Vue with RxJS: https://github.com/vuejs/vue-rx 2) & 3): See http:&#
41.
▲
by
EvanYou
11y ago
The `@click` and `:class` are in fact shorthands for `v-on:click` and `v-bind:class`. All directives start with `v-` by default. Shorthands are provided because these are two most often used directives. Re moving away from JS classes: ES201
42.
▲
by
EvanYou
11y ago
In Vue two way data binding is just syntax sugar for handling form input events. If you are talking about component state, the default mode of passing data in Vue is in fact one way.
43.
▲
by
EvanYou
11y ago
Having to call `setState` kinda becomes a big deal when you want to separate state manipulation and make your components dumb. Both dirty checking and Virtual DOM are pull-based mechanisms - i.e. nothing happens when the state itself change
44.
▲
by
EvanYou
11y ago
There are babel transforms for it: https://github.com/openjsx In fact I've seen a user use JSX-to-HTML for his Vue templates.
45.
▲
by
EvanYou
11y ago
Author here - thanks for the submission, I was actually planning to do it tomorrow :) Anyway, for those of you who are not familiar with Vue, here's a blog post explaining why it's worth taking a look at: http://blog.ev
46.
▲
by
EvanYou
11y ago
I never implied which predates which. Read again.
47.
▲
by
EvanYou
11y ago
I'm not familiar with OCaml, but this looks very similar to the reactivity model used inside web front-end libraries like Knockout, Vue.js - in which each "binding" in the template is essentially a self-adjusting computation
48.
▲
Vue.js 0.12.0 released
(vuejs.org)
17 points
by
EvanYou
11y ago
|
1 comments
49.
▲
by
EvanYou
11y ago
This is quite an interesting hack, and I enjoy seeing novel solutions to the async problem (especially on the browser side, where ES6 is not universally available yet). But still, I would probably never use this in production, given that I
50.
▲
by
EvanYou
11y ago
With ES6: r.table('users').filter(row => row('age').gt(30))
51.
▲
by
EvanYou
12y ago
Relying on "standard JS style" is as reliable as relying on ASI without knowing how it works. If what you are saying is with "standard JS style" you will never add a newline after return, then I can also assume with &quo
52.
▲
by
EvanYou
12y ago
That's why I don't like guides that suggest people to mindlessly add semicolons everywhere. If you don't really know how ASI works you are always living in the fear of missing a semicolon somewhere. Actually learning how ASI
53.
▲
by
EvanYou
12y ago
http://inimino.org/~inimino/blog/javascript_semicolons
54.
▲
by
EvanYou
12y ago
Don't confuse quality with style. If you want provide a quality guide, include only rules that actually improve the quality of the code, don't include style preferences. Style is subjective by nature, but quality not so much. Some
55.
▲
by
EvanYou
12y ago
Had to wonder if the "root" guy on the leaderboard actually hacked the game :)
56.
▲
by
EvanYou
12y ago
Note the author is not a native English speaker, and the book in its current form probably hasn't gone through the editors yet.
57.
▲
by
EvanYou
12y ago
Virtual DOM is fast, but it's not the only way to provide free and fast DOM updates. The author removed the Vue.js implementation from the benchmark, which does not use Virtual DOM but is as fast or even faster than Mercury and Elm. Di
58.
▲
by
EvanYou
12y ago
Specifically for these experiments though, CSS 3D transform has been implemented based on the same working draft for quite a while, and it's mostly being edited by folks from Apple. Firefox being slow really has little to do with peopl
59.
▲
by
EvanYou
13y ago
One thing I noticed about the circle drawing jsFiddle is that it’s clocking each loop synchronously, which is… totally inaccurate because repaint can happen outside of the JavaScript event loop. The proper way to measure the actual time tak
60.
▲
by
EvanYou
13y ago
Author of Vue.js here, I'm glad you included Vue in your framework comparisons. Here's some thoughts regarding your comments on Vue.js: the reason Vue chose to use ES5-only features is that it enables Vue to provide plain POJO syn
More ›