This post is part of a series. Start here if you haven't already.

After the benchmarks post, I got a question that comes up every time I talk about Inglorious Web's rendering model:

"If the whole tree re-renders on every state change, wouldn't it be better if you memoized render functions the way React does with React.memo?"

It's a reasonable question. It's also solving the wrong problem.

What memoization actually costs