Earlier quoted context omitted.
Yeah the lack if a realistic benchmarking tool is a major part of this whole front end fatigue, is it just another project or can it realistically prove itself to be a real benefit for performance.
FWIW Rich Harris' other stuff is pretty solid: Ractive, Rollup, Bublé.
Svelte – A UI framework that compiles into tiny standalone JavaScript modules
191–200 of 236 posts
Re: Svelte – A UI framework that compiles into tiny standalone JavaScript modules
#192TodoMVC is a useless benchmark for the problem that this claims to be addressing. The limits we're hitting with our applications now are with BIG applications, with many routes, many views, and lots of client side logic. We're talking hundreds of files (in some cases, thousands). Of course a framework, with it's fixed overhead, is going have a bigger payload for a tiny demo app like TodoMVC, than something like this…
I'm the author of a commercial framework for BIG applications [1]. Once you put everything on the table you can see which features should go into the framework and you end up with things like localization, date/number formatting, form validation, keyboard navigation, layouts, tooltips, routing, modals, etc. Once you have all that, you can build a coherent widget/charting library on top of it.
Re: Svelte – A UI framework that compiles into tiny standalone JavaScript modules
#193Earlier quoted context omitted.
Wow. How can someone even understand it like that! No way. I actually meant what I wrote and im not really worried about what someone else might think about my comment. Cause it's way way softer.
Even if someone doesn't like it AND doesn't use it, they can still tell the world how they think about it. You could have written your comment without that sentence and it would still convey your opinion :)
Re: Svelte – A UI framework that compiles into tiny standalone JavaScript modules
#194This looks interesting. For the past 3 years I've been using ractivejs and really enjoy it. I'm wondering if Svelte will take away development efforts from ractivejs? OT >The web's obesity crisis, solved. Svelte turns your templates into tiny, framework-less vanilla JavaScript. Made me think of [idlewords][1] website obesity presentation... [1]: http://idlewords.com/talks/website_obesity.htm
I think Rollup already took time away from Ractive. It's really too bad, I think Ractive has some great ideas and I really enjoyed working with it. It was the best way to build web UIs I've come across. But I feel its future is uncertain so it's hard to recommend others begin using it.
Re: Svelte – A UI framework that compiles into tiny standalone JavaScript modules
#195Asking for a friend.
Re: Svelte – A UI framework that compiles into tiny standalone JavaScript modules
#196Earlier quoted context omitted.
I think Rollup already took time away from Ractive. It's really too bad, I think Ractive has some great ideas and I really enjoyed working with it. It was the best way to build web UIs I've come across. But I feel its future is uncertain so it's hard to recommend others begin using it.
> I feel its future is uncertain so it's hard to recommend others begin using it. Self-fulfilling prophecy unfortunately.
Re: Svelte – A UI framework that compiles into tiny standalone JavaScript modules
#197Is it possible to filter out all JS/Framework stuff from the hn feed? Asking for a friend.
Re: Svelte – A UI framework that compiles into tiny standalone JavaScript modules
#198I love the ideas. The only other thing I like is CSS scoping, though. I think that CSS scoping is a problem in React, and current ideas on how to implement that in React are absolutely horrible IMHO. Two-way binding is a step back I think, I don't love the name (lots of people will judge a new technology by its name), and the thought of introducing yet another framework is a nightmare. I'd personally go with Polymer…
> Two-way binding is a step back I think You don't have to use it – its effects are restricted to the subtree where you've explicitly opted in to it. I've personally found it to be a huge timesaver, and would never go back to a world where I didn't have the option of using it. But you're in no way forced into it. > I wonder if these ideas can be somehow applied to React A lot of people have wondered that, including m…
Can you elaborate more on this? It seems like passing the compiled JS through Esprima and checking the call graph would give you a fairly detailed structural representation of a JSX UI. You may need to do some graph stitching across module boundaries, haven't tried this myself.
What static analysis does Svelte provide?
Re: Svelte – A UI framework that compiles into tiny standalone JavaScript modules
#199We move React to Svelte at work. We saw a huge file size decrease. almost 50%.
Re: Svelte – A UI framework that compiles into tiny standalone JavaScript modules
#200Earlier quoted context omitted.
> I feel its future is uncertain so it's hard to recommend others begin using it. Self-fulfilling prophecy unfortunately.
Perhaps, but at least to the team I was working with at the time, Rollup indicated we shouldn't expect much to change or improve in Ractive. I think Ractive was partially a victim of timing; as Harris himself has said, it has many of the same ideas as React and he may well not have made it if React existed when he began. And it never really seemed to gain much popularity which you kind of need for a project to grow b…
Actually, I would like to see the author's thoughts on ractive vs svelte. From the outside svelte is very reminiscent of ractive.
[EDIT] +\n