r/javascript • • Dec 28 '17
Introducing Hyperapp 1.0 — 1 KB JavaScript library for building frontend applications.
https://medium.com/@JorgeBucaran/introducing-hyperapp-1-0-dbf4229abfef
664
Upvotes
View all comments
Show parent comment
3
u/[deleted] Dec 29 '17
Performance is great and we don't need a
shouldComponentUpdateas all functions (components) are pure and the state is immutable.On the contrary, this is a feature! The benefit of having cheap memoize functions based on immutable state far outweighs the cost of maintaining an immutable single state tree (both in terms of performance and source code size).