Filter the fields during a get to avoid react component redraw #1817
Unanswered
tobiasBora
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Dexie.js, if I do:
if the name of a friend changes, my component will always redraw. But I might only need to access one field, say
id
, and redrawing becausename
changed is stupid.Is it possible to specify "keep only the field
id
", so that redraw occurs only when an id is added or removed?Beta Was this translation helpful? Give feedback.
All reactions