3 ms·
From what I know it's a compiler, so it check all the things at compile time and not waste time at run time.
by GoToRO 7y ago
From what I know it's a compiler, so it check all the things at compile time and not waste time at run time.
- spoiler 7y agoThat's partially true. The other benefit is that there's no vDOM, the way things change is reactive (kinda like in react), but there's no such thing as a no-op change. if you set something to what it was, it would trigger a partial rerender so you have to check before setting. With react you get those checks for free (provided you comply to certain restrictions).