2 ms·
I don't know because I don't use Vue. What you'd be missing if you dropped in the react library and did no compilation at all is the ability to use JSX. I'm gue
by debaserab2 9y ago
I don't know because I don't use Vue. What you'd be missing if you dropped in the react library and did no compilation at all is the ability to use JSX. I'm guessing vue's argument is their attribute tags still work in their minimal deployment whereas with React you'd be manually wiring up things to the React object functions.
So, with React, instead of:
return <div>My component!</div>
You use:
return React.createElement('div', {}, 'My component!);
Some people like the more implicit style anyways (although I don't and I don't know anybody who does at this point)