Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Diffing isn't really needed - usually you either replace a subtree completely or change a few attributes, which isn't hard to write code for.

Replacing the entire page on model change doesn't work for interactive forms and I don't want to micro-manage every attribute. My model drives the view automatically so diffing is necessary. The memory cost isn't that big if the diff algorithm is implemented efficiently.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: