Skip to content

Why does LocalResource lack a refetch method? #3381

Answered by gbj
linw1995 asked this question in Q&A
Discussion options

You must be logged in to vote

You are correct that this method does not exist.

You can replicate it pretty easily.

All it does is create an RwSignal<usize>, and track it in the body; calling .refetch() increments the signal.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by linw1995
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