I have been spending more time with Wix Studio and Velo recently, and one thing I have noticed is that knowing the Wix-specific APIs is only part of the learning curve.
A lot of the difficulty seems to come from JavaScript itself.
For someone who is comfortable with the Wix Studio interface but is still developing their JavaScript skills, what would you consider the most important JavaScript concepts to learn first?
I am thinking about things such as:
- Variables and data types
- Functions and parameters
- Arrays and objects
- Array methods such as
map(),filter(), andfind() - Conditional logic
- Events
- Promises and asynchronous JavaScript
- Working with JSON
- Debugging and reading error messages
- DOM and browser concepts
I have found that jumping straight into more complicated Velo code can be frustrating if the JavaScript fundamentals are not solid.
For example, understanding an array method in isolation is one thing, but being able to look at a collection of data and decide whether filter(), map(), or find() is appropriate is a different skill.
I have been using small JavaScript exercises to practise these concepts before trying to apply them to larger Wix projects. That has helped me understand the difference between simply knowing the syntax and actually being able to solve a problem.
For anyone who works regularly with Velo, what JavaScript concepts made the biggest difference for you?
Would you recommend learning JavaScript fundamentals first and then moving into Velo, or learning both at the same time?
I would also be interested in hearing which concepts beginners tend to struggle with most when they start writing custom code in Wix Studio.