Maintaining database connection #62

Open
opened 2024-12-29 15:35:25 +00:00 by matous-volf · 2 comments
Owner

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.

Currently the DB connection is being instantiated on every server function call. In [Dioxus 0.6](https://github.com/DioxusLabs/dioxus/discussions/2223#discussioncomment-9190810) a better way will be supported. Once it gets released, use it.
matous-volf added the refactor label 2024-12-29 15:35:25 +00:00
matous-volf added this to the Backlog project 2024-12-29 15:35:25 +00:00
Author
Owner
https://dioxuslabs.com/learn/0.6/guide/databases
Author
Owner

And Dioxus 0.7 solves it in yet another different way, using Axum handlers.

And Dioxus 0.7 solves it in yet another different way, using Axum handlers.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: matous-volf/todo-baggins#62