Replies: 1 comment
-
|
i recommend checking this repo: https://github.com/heng30/slint-template it helped me jump right into slint at first |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I’ve just started using Slint and am amazed at how convenient and powerful it is!
After experimenting for a short while, however, I’m wondering how to organize the code sensibly when building a medium- to large-scale application.
In such projects we end up with many Rust functions that have to be bound to Slint UI elements. Every single binding seems to require cloning a handle, which worries me both from a performance standpoint and because it makes it harder to split the code into several files. The resulting structure quickly becomes messy.
Could anyone share advice on how to keep the codebase clean and efficient while still taking full advantage of Slint?
Beta Was this translation helpful? Give feedback.
All reactions