imba / docs.imba.io

📝The official Imba documentation
https://docs.imba.io
4 stars 3 forks source link

Dom memoizing #11

Open weepy opened 5 years ago

weepy commented 5 years ago

What is dom memoizing. I can’t find an explanation on the website or the docs. Thanks !

ericvida commented 5 years ago

@somebee Can we have a layman's term for this?

I love how Radi.js calls their method "micro-rendering"

Sent with GitHawk

foxbunny commented 5 years ago

@weepy Memoized DOM is documented here:

http://imba.io/guides/advanced/performance

NOTE: the screencast linked to from the docs says "Imperative DOM", that's an old name for "Memoized DOM".

PierBover commented 5 years ago

Memoizing is when you cache the work of a function so it only does the same work once.

https://medium.freecodecamp.org/understanding-memoize-in-javascript-51d07d19430e

DOM memoizing is caching the work of functions that modify the DOM.