I like Svelte.js. Since I’ve tried it, I wanted to try another way to detect changes/mutations, current change detector is one of the keys of Svelte, without it Svelte would not be itself. So to experience another change-detector I made a little “sister” of Svelte is Malina.js, which instead of checking if a variable was changed, it checks if a binding was changed (bind-checking). Below are a few examples how it’s better.

To be able to see a difference I made the same todo-app on Svelte.js and Malina.js

(_a code style for Svelte to work with an array is taken from _official svelte-todomvc

Let’s start with function “add” where we append todo item in array:

#svelte #programming #javascript #front-end-development #web-development

I Created the Same App in Svelte.js and Malina.js. Here are the differences
15.15 GEEK