So let's take that simple example:
data --> projection --> view
What I call projection here can be any UI state resulting in filtering, sorting, highlighting, etc...
In an MVC paradigm, data lives in the model, view is the view, where does state belong?
I used to store state in the controllers but I've heard it's bad, controllers should be kept "lean" and everything should be stuffed into the model. I can see the advantages of having stateless controllers for testing but it seems counter intuitive to couple the data and its projection in the model.
What if different views want different projections of the data? How does it break down?
[EDIT] Found some related questions here and here but they don't answer the question directly. I know to put the logic for projecting the data inside the model but it doesn't say where the state of these projections should be maintained.