previousValue with computed select #223
Closed
PaulHalliday
started this conversation in
General
Replies: 2 comments 3 replies
-
There is a PR I am about to merge that will fix this! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Fixed on 5.0.0! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to generate a
previousValue
for aselect
statement? I'm looking to optimise for performance on an object with many properties that updates at 60hz, so would be interested in havingpreviousValue
/initialValue
onselect
slices.For example:
Perhaps I'm thinking about this wrong/overthinking it, but the idea was to:
resultA
)previousValue
does not exist onReadonlySignal
so I have to create a computed value from that slice to accesspreviousValue
.Beta Was this translation helpful? Give feedback.
All reactions