Startup Modules

Lovin’ the fact you can have a startup module instead of a form (https://anvil.works/docs/client/python#when-your-app-starts)

6 Likes

This should be great for isolating log-in and new-user logic out from a startup form.

Typically, the two are only on one form because that was the only way things could work. In addition to its normal, post-login duties, the startup form was saddled with the job of logging in, and handling all of the related contingencies. Now each can be independent, and more reusable as a result.

Way to go, guys! :smiley:

1 Like