reactive-python / reactpy-django

It's React, but in Python. Now with Django integration.
https://reactive-python.github.io/reactpy-django/
MIT License
329 stars 18 forks source link

`use_query` has no `refetch` option. #136

Closed Archmonger closed 1 year ago

Archmonger commented 1 year ago

Current Situation

Currently, a query refetch cannot be triggered unless through a use_mutation call. Apollo supports refetching via Result.refetch(), so we should too.

Proposed Actions

Develop a Query.refetch() function.

Archmonger commented 1 year ago

Wait I'm trolling, it is definitely there. I swear intellisense said it wasn't.