|
|
|
|
|
by rk06
2288 days ago
|
|
do you want to see the value? if so, here it is: By itself, there is no inherent value in either v-for or Array::map(). However, these choices do not exist in a vacuum, they are other decisions in place, which do provide significant value: - React, allows full power of js when writing template. and easy to express and decompose components into functions. while Vue does not allow the fine-grained in template unless you go into Vue's JSX)
- Vue, via template-based approach, enables Developers to deploy apps without a build step, while React forces devs to add a build step(and a compelx one at that) to pipeline |
|
Vue: supports JSX, vanillajs render function, pug, and its default HTML templates.
You: "React allows full power of js"
Ok