Svelte is a radical new approach to building user interfaces.
Whereas traditional frameworks like React and Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app.
One of the features Svelte provides out of the box is store, a way to share data among components without having to use props and falling into the infamous render props hell.
In this article you’ll learn how to write custom stores that contain the state and business logic together.

“Build Better Svelte Stores” por Rogerio Amorim https://medium.com/better-programming/build-better-svelte-stores-8c70db038dd2

#javascript #svelte

Build Better Svelte Stores
11.70 GEEK