Ocsigen Start demo app

Pull to refresh

This is an example of a page with refreshable content. It is a very common feature in mobile applications. You will need to view this page on your phone to see it work.

This page contains a counter that increases every time you "refresh" by pulling down the page. This feature is called "pull to refresh", but you give it your own action to be performed after the motion. Here, it updates a reactive signal after a second, but in your application, you will probably fetch data and update a more complicated signal than a number to rebuild a part of or the whole page, or do anything else you want.

You refreshed the page 0 times.