top of page
Writer's pictureDigital Edge

Exciting Update to Wix Velo: Dynamic Event Handlers Explained


A graphic for wix velo code

Wix has recently made a significant update to its Velo development platform that everyone should be aware of.


They’ve switched the default event handlers from static to dynamic, which brings several important advantages to the table.

 

For a bit of background, event handlers are the parts of the code that manage specific user interactions on your site—things like clicking buttons, hovering over elements, or starting to type in a form. Up until now, Wix has used static event handlers by default, meaning they were set once and weren’t designed to be changed. However, Wix is now moving to dynamic event handlers, which open up new possibilities for website functionality.

 

So, what’s the benefit of this change? Firstly, dynamic event handlers align Wix more closely with best practices used across other web development frameworks. This update allows for greater flexibility, as dynamic event handlers can be modified even after they’ve been created. One of the most useful advantages is the ability to have multiple pieces of code running on the same event. For example, when a user clicks a "like" button, one handler could instantly make the button turn blue, showing the user’s action right away, while another handler could take a little longer to update the database in the background—without making the user wait.

 

This shift to dynamic event handlers will improve the efficiency and responsiveness of websites built on Wix Velo, allowing for a smoother user experience. That said, there’s no need for any of our clients to worry about this transition. Wix remains fully committed to supporting static event handlers, ensuring backward compatibility for sites that currently rely on the older system.

 

This update represents a step forward in how we build and manage websites, and it’s something to consider as part of a broader discussion on offering premium services through paid subscription apps. With this kind of flexibility, we could easily go in, update all event handlers to dynamic, and roll out those improvements to all users—a huge advantage for anyone on a subscription plan.

 

Keep an eye out for more updates as Wix continues to evolve its platform!

1 view0 comments

Recent Posts

See All

Comments


bottom of page