I’ve got a small architectural dilemma and would love your input. Let’s say I have a list of item view models, and each one wraps its own model (e.g., ItemViewModel → Model). When I navigate from the list to a details page, what’s considered the better practice?
Option A: Pass only the ID of the model OR Option B: Pass the entire ItemViewModel directly.
Passing ID feels cleaner and safer (especially for deep linking, state restore, or lazy loading, but it means I would need to fetch and rebuild the vm again). Passing the full ViewModel is convenient and avoids another lookup, but it couples pages more tightly. Would you ever pass a full ViewModel between pages, or do you always resolve it from an ID?