I enjoy being a Vue main in these discussions, mostly because everyone leaves us alone lol
I really enjoy the syntax of Vue over React, and if it’s an application that’s complex enough to warrant something like React I’ll almost always reach for Vue so long as it also meets the requirements.
React's hello world:
```js
<div id="root"></div>
<script>
import React from 'https://esm.sh/react@19';
import ReactDOM from 'https://esm.sh/react-dom@19/client';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(<h1>Hello, world!</h1>); </script>
```
---
HTML's hello world:
```html
<h1>Hello, world!</h1>
```
---
JS's hello world:
Nothing, it was already done in HTML
React:
import { useState } from "react";
function Counter() { const [count, setCount] = useState(0);
}
---------- Svelte:
<script> let count = 0; </script>
<button on:click={() => count += 1}> Count: {count} </button> --------------- React: function Editor({ initialText }) { const [text, setText] = useState(initialText);
} --------------------- Svelte:
<script> export let initialText; let text = initialText;
</script>
<textarea bind:value={text} />
No one's going to mention VueJS?
I enjoy being a Vue main in these discussions, mostly because everyone leaves us alone lol
I really enjoy the syntax of Vue over React, and if it’s an application that’s complex enough to warrant something like React I’ll almost always reach for Vue so long as it also meets the requirements.
Seeing Svelte 3/4 code always warms my heart. The ergonomics of `$:` are amazing.