Re:Why Svelte is our choice for a large web project
by overtowed on Tuesday March 10, 2020 @10:11PM
(#22542273)
It's buried in the article, but TypeScript support is being worked on by one of the TypeScript team members in collaboration with the Svelte devs - https://github.com/sveltejs/svelte/issues/4518
The template language's restrictions compared to JavaScript/JSX-built views are part of Svelte's performance story. It's able to optimize things ahead of time that are impossible with dynamic code because of the constraints. Here's a couple tweets from the author about that -
1 - https://twitter.com/Rich_Harris/status/1224414679021301761
2 - https://twitter.com/Rich_Harris/status/948231770725605377
The Svelte template language is quite small, and compositional features like slots and <svelte:component> are powerful. There are currently some unwanted edge-case restrictions as this comment points out - https://news.ycombinator.com/item?id=22541100
Re:Why Svelte is our choice for a large web project
by aarpmcgee on Tuesday March 10, 2020 @09:21PM
(#22541980)
I submit that any large Ember codebase is intractable without Typescript.
Re:Why Svelte is our choice for a large web project
by mdgrech23 on Tuesday March 10, 2020 @10:31PM
(#22542395)
I submit that Typescript is largely overrated, adds unnecessary complexity and fails to catch a large number of issues at compile time that it should in fact catch.
Re:Why Svelte is our choice for a large web project
by DigitalSea on Monday March 16, 2020 @06:19PM
(#22598690)
What are you basing this on?
Re:Why Svelte is our choice for a large web project
by top_kekeroni_m8 on Thursday March 12, 2020 @09:20AM
(#22556491)
Like what?
I think Svelte is refreshing, but I would not be comfortable using it on a large-scale web application just yet given the downsides, particularly an enterprise LOB application with many moving pieces. This is why frameworks like Angular, Ember and Aurelia on the front-end lend themselves better to the enterprise and React and other more component-based libraries do not.
In terms of community size, I don't think that matters in 2020. You don't need a big community if you have something straightforward and easy to work with. Great read.