The Interviewer Asked Me How to Control Button-level Permissions. I Said “V-if”. The Interviewer Said Goodbye.
Published in
6 min readJan 4, 2024
In a recent interview, an interviewer asked me how to control button-level permissions. I said to use v-if
it directly. He said it’s not good enough. I explained that in our project, there are a few cases where we need to control button-level permissions, so using v-if
them is sufficient. He said it’s…