Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ohceecho
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
ohceecho
9y ago
Yeah, the documentation should probably reflect that. It works like shallow two-way binding, but it implemented differently. Instead of using observers on the data itself, it uses an event, thus maintaining a cleaner interface between the c
2.
▲
by
ohceecho
9y ago
v-model in Vue is not exactly two-way binding. It is just syntax sugar for passing the value as a prop and setting an event handler for the “input” event. It looks like two-way binding but has none of the gotchas. I agree with you point bt
3.
▲
by
ohceecho
9y ago
Anecdotal, but I had to migrate a mid-sized app (about 400 components) from Vue 1 to Vue 2 and it took less than a day of work to modify the code, test it and push to production. We weren't using that many removed features to begin wit
4.
▲
by
ohceecho
9y ago
You mean the examples in the link I posted? Those are just javascript and HTML, there's nothing special about them. Just put that on an HTML file and run it in a browser. No need for any tool other than a text editor. To compile .vue f
5.
▲
by
ohceecho
9y ago
The templating language is entirely optional. People use it because they prefer it. You can even use JSX if you want.
6.
▲
by
ohceecho
9y ago
I disagree with the assertion that it has "huge set of idiomatic coding principles", but I think that's a matter of opinion. However: > What I also disliked was how they don't explain how to get it working without a b