News for hackers. Stuff that matters.
Re:Metaphysics and JavaScript by pier25 on Wednesday September 04, 2019 @04:51PM (#20881290)
I really don't see the comparison with Angular other than the use of templates. Can you elaborate?

Also, what "rails" does React provide?

Re:Metaphysics and JavaScript by nemothekid on Wednesday September 04, 2019 @04:56PM (#20881328)
>I really don't see the comparison with Angular

I haven't used Svelte so take my comparison surface level. templates, directives and the prop names all remind me of Angular.

>Also, what "rails" does React provide?

The "rails" that react provided that I found useful where more around opinionated data flow with props (especially with Flux).

Re:Metaphysics and JavaScript by pier25 on Wednesday September 04, 2019 @05:22PM (#20881557)
> templates, directives and the prop names all remind me of Angular

Yes, but those are commonplace in any library/framework that uses templates. Like you said, this is just a very superficial comparison. Angular is framework that comes with lots of abstractions, modules, dependency injection, etc. It's a very different beast than Svelte.

> The "rails" that react provided that I found useful where more around opinionated data flow with props (especially with Flux).

Right, but React is only the rendering part. You are probably refering to Redux.