4 ms·
The hard things are exactly the same as React because you can use whatever render function you want. JS itself is a single-threaded event loop and all view eng
by manigandham 5y ago
The hard things are exactly the same as React because you can use whatever render function you want.
JS itself is a single-threaded event loop and all view engines basically follow the same functional pattern of data-> render function -> output. Vue comes with an HTML parser to create that render function, React and others use a JSX parser, or you can write your own from raw javascript.
You can technically use any of them with any render function parser, but Vue starting with HTML by default and all the other niceties around reactivity make it a better fit.