News for hackers. Stuff that matters.
Re:Show HN: Sinuous – Small, fast, reactive UI library by theprotocol on Monday July 22, 2019 @01:15AM (#20495478)
I've toyed around with the template-strings-to-markup approach before, but couldn't quite figure out how using `map` to generate dynamic lists avoided doing a full O(n) loop upon each update without some kind of diffing engine (other than the browser's own markup diffing).
Re:Show HN: Sinuous – Small, fast, reactive UI library by luwes on Monday July 22, 2019 @02:13PM (#20500623)
it's indeed not possible, that's why there is a `map` module for rendering lists.