LiveView's new JS.exec/3 function
Check out the new `JS.exec/3` function that shipped with Phoenix 1.7.2 and why we might want to use it
Check out the new `JS.exec/3` function that shipped with Phoenix 1.7.2 and why we might want to use it
Someone asked me how to animate deleting elements in LiveView. The trick is to use `LiveView.JS`.
Just recently learned that we can animate elements when they're first mounted on the page. Check it out!