Replies: 1 comment
-
Same here. I think it will improve code legibility. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Correct me if im wrong but
optimisticData
is function of one argument, current data. This end up with awkward usage as in documentation :I would prefer not be forced to set config like this in button
onClick
handler. Instead I would liketo do it that way
Which doesn't work because argument passed in trigger is not passed down to optimisticData function. Isnt it worth to update api to work like this?
Beta Was this translation helpful? Give feedback.
All reactions