Andrew Stewart on JS in LiveView
Description
In this episode of the Elixir Mentor Podcast, your go-to source for All Things Elixir, I'm excited to welcome back Andrew Stewart, who runs his educational YouTube channel under the username @srcrip. This time, we focus on JavaScript interoperability in LiveView.
We'll discuss best practices, share insights, and explore various aspects of integrating JavaScript with LiveView. Don't miss it!
#ElixirLang #LiveView #ElixirMentor #TechTalk #SoftwareDevelopment #ElixirProgramming #DeveloperCommunity #JavaScript #WebDevelopment
Textarea code snippet to maintain height on reload:
const MaintainHeightHook = {
beforeUpdate() {
this.prevHeight = this.el.style.height
},
updated() {
this.el.style.height = this.prevHeight
}
}
Image proxy mentioned: Check out the image proxy
Connect with Andrew:
X: Follow Andrew on X (Twitter)
YouTube: Subscribe to Andrew's YouTube Channel
Toast Library: Explore Andrew's Toast Library
SUPPORT ELIXIR MENTOR
🌐 My website: Visit Elixir Mentor Website
🎙 Check out my podcast: Listen to Hired Gun Apps Podcast
🆘 NEED HELP?? Join our Discord Server
🔗 All my Links: Connect with Jacob on Linktree
Join this channel to get access to perks: YouTube Channel Membership