3 ms·
Exclude JSX and routing. You'll need some state. Routing != rendering and JSX is an abomination. For optimal performance, look into differential dataflow: http
by pgt 7y ago
Exclude JSX and routing. You'll need some state. Routing != rendering and JSX is an abomination.
For optimal performance, look into differential dataflow: https://github.com/TimelyDataflow/differential-dataflow/issues https://github.com/TimelyDataflow/differential-dataflow/issu...
- dahart 7y agoThis looks interesting! Not a working replacement for React, right? I would probably add that for optimal performance, don’t use functional differential rendering at all. Keep state and use direct DOM manipulation of only elements that change, right? The very idea of re-rendering by throwing a whole new page up and letting the system diff and update is guaranteed not to be optimal performance, it’s always doing more work than necessary. The tradeoff is that the optimally performant solutions are imperative and stateful and involve all the difficult and bug-prone techniques everyone’s trying to avoid. Engineering for functionality is a solved problem. Engineering for performance is not.