Granola-Team / mina-block-explorer

Web application for the Mina blockchain
Apache License 2.0
7 stars 6 forks source link

Disable polling if the tab is not visible #908

Closed n1tranquilla closed 3 months ago

n1tranquilla commented 3 months ago

https://leptos-use.rs/elements/use_document_visibility.html https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API

Relates to: https://github.com/Granola-Team/mina-block-explorer/issues/896