lit-element
lit-element copied to clipboard
Add shouldComponentUpdate-ish feature
this will make things faster and we can make immutable data a native citizen
This is not needed if my PR gets merged in lit-html https://github.com/PolymerLabs/lit-html/pull/239
Im not sure that eliminates the need completely... it does cover the most important part though...
What if a property change causes something async to happen (a fetch or similar) that then needs to invalidate... being able to opt out of re-rendering could still be a nice feature...
or what I know my data is always immutable - I can skip the object equality check altogether...