Although the initial release of Svelte was back in November 2016, it's still more of an underdog amongst the JavaScript front end frameworks and ju...
For further actions, you may consider blocking this person and/or reporting abuse
But keep in mind that there are not so many job vacancies for Svelte Frontend developers. Mostly all of them are React/Vue/Angular
Yes but honestly as a newbie your looking at least a extra year to learn enough JS and React to be able to do a job. This is good for newbies, and I really think this will catch on big time. I'm a newbie and I was like WOW this just makes since. React seems over engineered now. Just too much to write.
The global philosophy and the bundle size / performances are great. I'll have to try it. The only thing that doesn't feel right for me is this template syntax that I'll have to learn, where React is just javascript (I see you, wanting to tell me "what about learning jsx?". It's not the same thing as a whole new templating language at all).
Working with Svelte feels like combining the good old HTML, CSS, JS approach, while still using components. Also, it's concise, intuitive, lightweight a fast 👍
Excited to see where it will be in an upcomming years 😉
Bridgetown takes that same approach
I've been contemplating for months now to start learning svelte or not, to give it a chance or not. And the things that are holding me back the most are:
(I've been using react for 2.5 years now, its very hard to go to anything else lol)
1) I described state management as 4th point, you can find some more involved examples online but its super simple to use!
3) Have never used CSS-in-JS but this should answer your question: svelte.dev/blog/svelte-css-in-js
Svelte has a context API but tbh I don't find myself using it very often. YMMV.
svelte.dev/docs#setContext
I don't think this is elegant.
Can you give an explanation why?
Because:
So far I have heard nothing negative about Svelte. It seems to be this wonder tool that makes developers a lot of fun while they are working with it.
I am learning sveltejs and its incredibly simple.. I think I'll take my course more serious
I've fallen in love with Svelte so much that I personally recommend it, especially to beginners, more than React, which used to be my deity before.
Yeah, very true!
The newly announced development of SvelteKit might help with the adoption of the framework. svelte.dev/blog/whats-the-deal-wit...
9, Shorthand attributes for passing props, the child component doesn't seem to use the prop
Good catch, I think I was mixing up two examples that I wrote!
I updated the gist to make more sense, thanks a lot Sean ;)