DEV Community

Discussion on: 3 reasons you should try Svelte

Collapse
 
chrisczopp profile image
chris-czopp

I'm not a big React fanboy but, I'm not sure about Svelte. Blending styles, controllers and presentation into one file feels wrong. Also, I don't know if in Svelte it's possible (or how hard it would be) to implement an app state management with central store(s). I think the comparison would be only fair in a more advanced use case.

Collapse
 
yoursunny profile image
Junxiao Shi

Svelte allows you to declare store in a file, and import them into components. If the value of a store changes, all components importing this store are notified and updated.

Collapse
 
chrisczopp profile image
chris-czopp

cool, that's what I would expect :)

Collapse
 
mzaini30 profile image
Zen