When I did some research and asked some other developers when they think of React they think of needing to learn JSX. For something like Svelte, all you need to know is HTML, CSS, and JS.
Svelte has good marketing clearly.
Is this HTML?
<label><inputtype="checkbox"bind:checked={visible}>
visible
</label>
{#if visible}
<ptransition:fade>
Fades in and out
</p>
{/if}
Or this HTML?
<a@[event]="doSomething"> ... </a><ulid="example-1"><liv-for="item in items":key="item.message">
{{ item.message }}
</li></ul>
How about this?
<formonSubmit={handleSubmit}><labelhtmlFor="new-todo">
What needs to be done?
</label><inputid="new-todo"onChange={handleChange}value={text}/><button>
Add #{items.length + 1}
</button></form>
That's why a con of Svelte is its syntax (I added that in my post). This is more explanation to that point:
Firstly, for confusion in variable names, I'm talking about how Svelte handles state. Coming from React, state would only be initialized with the useState hook. In Svelte, all the variables you make is state which could be confusing for someone just learning Svelte. Also, for the confusion in syntax, I'm talking about the confusion in logic. For example, if statements in Svelte are different than the usual Javascript if statements which could cause some confusion/more learning time for beginners. There are also other examples of this.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Here's the index page where he posts new results as they come up: krausest.github.io/js-framework-be...
Svelte has good marketing clearly.
Is this HTML?
Or this HTML?
How about this?
That's why a con of Svelte is its syntax (I added that in my post). This is more explanation to that point: