Hacker News new | ask | show | jobs
by jaequery 3502 days ago
I really miss 1.0's inline way of writing javascript anywhere inside the dom (attributes) via {{ execute_raw_js_code() }} as well as the ability to run filters on it. Is there anyway to get them back on Vue 2? I have to admit, this was a major step back for me when upgrading to Vue 2 from Vue 1.

I also really loved the Vue 1's way of handling transitions. Now having them inside it's own wrapper really diminishes the elegance I felt from Vue 1.

Wish there was some ways to get them back instead of having to downgrade.

1 comments

Yes. Use computed properties.
Yeah you can use that but still you lose the liberated feeling of being able to execute js anywhere directly on the dom, which I actually appreciated quite a bit.