Vuejs.org: Preact in comparisons guide

Created on 6 May 2018  路  3Comments  路  Source: vuejs/vuejs.org

I've often heard that Preact is a good solution to the difference in load time and perf between React and Vue. I don't have nearly the expertise to evaluate that claim but would definitely appreciate a section under the React comparison section (it probably doesn't need its own section - Preact is super similar to React) about how Vue compares to Preact.

Most helpful comment

I've often heard that Preact is a good solution to the difference in load time and perf between React and Vue.

If you look at the 3rd-party benchmark we link to, you'll see that all 3 are extremely fast. My impression is that the big perf advantages Preact used to have over React have largely disappeared.

[I] would definitely appreciate a section under the React comparison section (it probably doesn't need its own section - Preact is super similar to React) about how Vue compares to Preact.

As you said, Preact is very similar to React, so there's not much to say. I think the main difference is that because Preact isn't fully compatible with everything in the React ecosystem, some advantages of React's ecosystem don't apply. So if someone is choosing between React (or something React-like) and Vue, I'm not sure there's anything we could add that would better inform that decision.

Does that make sense?

All 3 comments

I've often heard that Preact is a good solution to the difference in load time and perf between React and Vue.

If you look at the 3rd-party benchmark we link to, you'll see that all 3 are extremely fast. My impression is that the big perf advantages Preact used to have over React have largely disappeared.

[I] would definitely appreciate a section under the React comparison section (it probably doesn't need its own section - Preact is super similar to React) about how Vue compares to Preact.

As you said, Preact is very similar to React, so there's not much to say. I think the main difference is that because Preact isn't fully compatible with everything in the React ecosystem, some advantages of React's ecosystem don't apply. So if someone is choosing between React (or something React-like) and Vue, I'm not sure there's anything we could add that would better inform that decision.

Does that make sense?

Definitely does - could we include a version of what you just said on the website? I think the big thing is not to clarify the decision for people who know what they're talking about but for people who don't. Even a one-liner has value IMO.

Just added a new small section at the end of the React comparison.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nerdoc picture nerdoc  路  5Comments

richardtallent picture richardtallent  路  4Comments

ankitsinghaniyaz picture ankitsinghaniyaz  路  4Comments

estyh picture estyh  路  5Comments

dwiyatci picture dwiyatci  路  5Comments