Put model state into an Arc #28
Reference in New Issue
Block a user
Delete Branch "state-arc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Previously the model state was in a
static STATEto make it accessible to all the various subsystems. This moves it into an Arc and plumbs the reference around via function arguments. That allows us to do non-static initialization, eg based on user config. I also moved some things into dioxus context.66467d37e9tofa39737301lgtm