Maintaining database connection #62
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Currently the DB connection is being instantiated on every server function call. In Dioxus 0.6 a better way will be supported.
Once it gets released, use it.
https://dioxuslabs.com/learn/0.6/guide/databases
And Dioxus 0.7 solves it in yet another different way, using Axum handlers.