#Updating App with users in it ???

8 messages · Page 1 of 1 (latest)

final citrus
#

I'm fairly new to this web based dev world, do I need to worry about users being in the app when I update it ? (push and get vercel to rebuild production)

Is it a non issue? Or do I need users logged out ? If it's a global app, users will be on all the time, how is that processed handled?

fresh wadiBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

      🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in <id:customize>

      ✅ You can mark a message as the answer for your post with `Right click -> Apps -> Mark Solution`
      (if you don't see the option, try refreshing Discord with Ctrl + R)
worthy rune
#

Hey, it depends on your use case. You can see the browser as a snapshot of the code. Once the user downloads it, it doesn't automatically refresh. So if the user has the browser with your website open for 20 days without refreshing or navigating away from that page it will be the outdated code.

final citrus
#

What is the usual practice to prevent that ? or how are people normally updating apps with live userbase

worthy rune
#

Never make a breaking change 😛 So when talking about new API stuff. Always have it behind versioning so that you can deprecate the old route and have it there for 2 weeks or something

worthy rune
#

But it really depends, so lets say you have a game or something where everybody needs to be on the same version, that you need to build a system that forces the update, something with pulling or websockets