Skip to content

Refresh issue prevents button click in editable data example #2987

Answered by LauSam09
LauSam09 asked this question in Q&A
Discussion options

You must be logged in to vote

In the end I solved this problem by following the same pattern as is used for injecting the update function in useTable.
By doing this, I could remove data from the dependency array with no adverse effects, and clicking works correctly as a result.

E.g. injecting functions to use at runtime.

useTable({ .... }, update, remove, add)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@sRidder
Comment options

@LauSam09
Comment options

@sRidder
Comment options

@sRidder
Comment options

Answer selected by LauSam09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants