Hi, we are in the process to migrate a project to vue 3 using the composition-api. But now and I’m looking what are the best practices for composition functions and trying to understand where come from the “use” prefix for composition functions name( by example useCounter)?.
use is a React hook standard. I believe this is why Vue’s adopted this pattern as well.
Vue has a style guide for best practices, but it doesn’t really address this specific question.
Thanks. Yes, I review their style guide and didn’t find anything about it.
Now I’m going to search about this React hook standard.