lit-element icon indicating copy to clipboard operation
lit-element copied to clipboard

Add shouldComponentUpdate-ish feature

Open filipbech opened this issue 8 years ago • 2 comments

this will make things faster and we can make immutable data a native citizen

filipbech avatar Nov 01 '17 21:11 filipbech

This is not needed if my PR gets merged in lit-html https://github.com/PolymerLabs/lit-html/pull/239

kenchris avatar Jan 09 '18 17:01 kenchris

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...

filipbech avatar Jan 09 '18 19:01 filipbech