Don’t want users using the app while it is being upgraded. Is there a simple way to do this in Weweb? How is this usually being handled?
Maybe add an On Page Load workflow and check if your backend return the maintenance state or not with a REST API call, if there is a maintenance then redirect the user.
If you need to do it while the user is already using the page then you can try to check every minute by creating a javascript action on app load that will call the workflow checking the state.
setInterval(() => wwLib.executeWorkflow('workflow-id'), 60000)