lightblade

Joined 15 years ago

Karma
232
Submissions
296
Member since
Apr 25
https://ming.codes
View on Hacker News

Recent submissions

Comment · 8 years ago
Comment · 8 years ago
When you write JavaScript, you can only optimize it..as JavaScript. It still needs to be parsed, compiled, and optimized as JavaScript.

When you write templates, you get more room for optimization. Glimmer engine compiles templates to binary bytecodes to bypass JavaScript parsing. Vue3 inlines component fragments as part of the compilation step.

Comment · 8 years ago
https://apple.news/AtfflfmCvRzublEC6RnuxmQ

Apple News link bypasses the paywall

Comment · 9 years ago
> Standard / Official way of doing things

If you like that, why not go with Ember?

Comment · 9 years ago
I would imagine this works in your terminal too.
Comment · 9 years ago
Is eBay.com built with Marko?
Comment · 9 years ago
We use a combination of Atomics and BEM in our project.

Atomics offers single level specificity thus providing a strategy to combat the specificity problem that plagues many projects.

They are single purpose and infinitely composable, which complements very well with component oriented architecture that's popular today.

They are localized to single DOM node. When combined with its single purpose nature offers fewer surprises when making changes to your style sheet. For example, when you add a margin 15 Atomics to a DOM node, it is very hard to accidentally add another margin 15 somewhere else. Versus if you add a label class, it is much easier to accidentally add another label class and cause unintended consequences.

Comment · 9 years ago
That's the thing. All claims of Alibaba's adoption of Vue comes from the author himself. I think it's reasonable to have doubt. I'm sure they use it. But to claim that they heavily invest in it may be exaggerated.
Comment · 9 years ago
I like to see some evidence of this claim. Certainly Alibaba.com is not built with Vue.
Comment · 9 years ago
That is the word on the street, but I have yet to see publicly visible evidence of it. You can inspect Facebook to see React is there. You can inspect Walmart to see React is there. You can inspect LinkedIn to find Ember there. I have yet to see flagship product of huge companies built on Angular or Vue. Is Alibaba.com built with Vue?
Comment · 9 years ago
Meaningful contribution in what way? This is Vue's contribution graph sorted by addition: https://github.com/vuejs/vue/graphs/contributors?from=2016-0...

The #2 person contributes only about 1% compared to the #1 person.

Compare to React's same graph: https://github.com/facebook/react/graphs/contributors?from=2...

The #2 person is at about 50% of the #1 person.

Compare to Ember's same graph: https://github.com/emberjs/ember.js/graphs/contributors?from...

The #2 person is at 75% of the #1 person.

Comment · 9 years ago
That's also why taking on Vue is a huge risk. The project has a high bus factor. If the main author burnt out and quit, the project is dead.
Comment · 9 years ago
Nurse is licensed though. That's instant credibility.
Comment · 9 years ago
Interesting...

Since requestIdleCallback leaves the scheduling out of your hand, how do you ensure nodes are still updated when you need it? Like tests?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton