I'm looking for jobs on Upwork and suddenly a job post ask me couple questions, that i find out relevant to share.
If you started a brand new project tomorrow, would you personally use Vue 2 or 3, and why?
There are certainly benefits of using it and just to mention a couple ones:
- V-model redesign mechanism (which makes more easy to handle and maintain code), make it simpler to handle multiple models with simple payload.
- Composition API, that makes the code much more modular an easy to debug.
- Typescript support, which makes the code scalable.
What is your preference, to use Bootstrap as mostly the skeleton and write more custom CSS? Or, to try and do as much as possible with native bootstrap styles and minimal custom CSS?
It's gonna depends on the budget and the client requirements.
If client prioritizes design over boilerplate, use Bootstrap or Vuetify will be a way to go candidate.
What is your process for selecting an npm package for a given problem? Lets say I want to find a package for phone number inputs and many meet your requirements, how would you evaluate which repo is best?
The more packages a project has, the more problems we'll have to handle. Stick to native as much as possible, while keep complexity very low.
Repeated code in some circumstances, may benefit more in term of cost/time rather than a package. ( There is a heated debate over this )
Even so, if I need to choose a package this will roughly be the criteria.
- Vue recommendations
- Adoption by the community
- Open source
- Maintainers activity
If you wanna complete my answer, please, feel free to do it.