[ANN] Seaside jquery-morphdom wrapper
Esteban Maringolo <[email protected]> Sat, 23 Nov 2019 00:16:52 -0300
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <CAJMgPCKh3HRyT9g5WeeLeYPhRDpS0x0K0hTr2T86yTxMnmCorQ@mail.gmail.com> |
Hi all, As a small experiment to improve the performance of a big grid of html inputs I was updating using a traditional "full div replace", I implemented a Seaside JQuery wrapper and examples for the morphdom utility that dos DOM diffing/patching. This DOM patching technique avoids removing whole elements from the DOM to be added later, and instead it reutilizes the DOM nodes (if they have the same element id), avoiding CPU time and wasted memory. So far works a drop-in replacement of jQuery's replaceWith() For further info, please check the just created repo and run the example, that is self evident: https://github.com/eMaringolo/seaside-morphdom Regards, Esteban A. Maringolo _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside