CottageLabs / edges

Data query, manipulation, search and visualisation front-end library
MIT License
8 stars 7 forks source link

Introduce differential rendering #32

Open richard-jones opened 4 months ago

richard-jones commented 4 months ago

In order to remove some of the complexities introduced by complete DOM re-rendering on query cycles, and to improve certain user interactions, we should introduce differential DOM rendering, as is found in frameworks like React and Vue.

An example algoritm for implementing this: https://dev.to/joydeep-bhowmik/virtual-dom-diffing-algorithm-implementation-in-vanilla-javascript-2324

Acceptance Criteria