3 ms·
Posts like these tend to disappoint me. Seems like the author is really excited about it and wants me to have some kind of revelation about how simple Svelte is
by tail_exchange 3y ago
Posts like these tend to disappoint me. Seems like the author is really excited about it and wants me to have some kind of revelation about how simple Svelte is, but the first example with the "$:" raised so many questions... What is that $? It's a label? How does it know that the variable changed value? Can I have more than one $ if I import another file that uses it?
It also gave me a bunch of tiny snippets as examples, but that's never representative of a real codebase. How do you reuse these components? How do you deal with component lifecycle?
It peaks my interest, but kills it with a bunch of magic and unanswered questions.