dustingetz / react-cursor

Immutable state for React.js
1.03k stars 50 forks source link

writing to cursor with same value as before causes unnecessary renders #65

Closed dustingetz closed 8 years ago

dustingetz commented 8 years ago

cur.refine('a', 'b').set(true); If val was already true, this should skip the update. Currently it performs the update resulting in re-rendering to that path.