fuzzzlove/SwiftUIWordpressClient

Refresh functionality?

Closed this issue · 1 comments

Great app, code is very well organized and written. Do you know of a way to add a pull-to-refresh functionality? I can't seem to properly map the endpoints, even when using third party libraries. If this were to be used in a breaking news context, automatic refresh is an important issue to touch on.

I was able to create a button that would call the fetch function. The issue lied on the backend as the API's cache was not cleared when I created a new post.