Conversation
susnux
left a comment
There was a problem hiding this comment.
Not sure, if its not better to let the view itself update. Also there needs to be a way to detect the update, as this only works currently with vue 2 reactivity and only one app maintaining it.
What do you mean ?
I can emit an |
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Fixed |
|
Basically the question is what do we want the For most views this is not really necessary, but some like the folder tree or the search view are more or less stateful. If we want to allow the view to have a state then the view should update itself and not need external update calls. |
|
How do you suggest the view update itself ? |
|
Well it could just return another value for the field and emit an event if it changed internally, similar to #1067 |
|
But I am also fine with this solution! |
|
So, this was mostly useful for nextcloud/server#53739 |
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Use-case example: