Every screen in its place.
Carte is routing and scoped state for any Rust UI. Declare your screens once, derive the path from your state every frame, and let each screen’s state live exactly as long as the screen.
What Carte sees
- model
- home_child: None
- path
- home
- Shared Process
trashed: 0 - Editor Node("note")
not mounted - Bin Node("trash")
not mounted
Your UI draws. Carte knows where you are.
Each screen is a box inside the one that opened it, and its state lives in that box. Close the screen and its state goes with it. State that has to outlive a screen belongs in a box further out.
process
Shared {notes: 3,dark: true,}home