How to debug issues with Turbo Morphing | Radan Skorić's personal site
01-Mar-2024 443
Turbo’s morphing feature can look magical. There’s a lot of pieces moving behind the scenes to make it come alive. That’s great when it works but when it doesn’t you might be left staring at the screen unsure where to start to debugging it. Maybe you made a mistake in your code. Maybe it’s all working as expected but it caught you by surprise. Maybe you ran into a bug in Turbo itself. Yes, that’s also possible.Recently, I decided to debug an issue reported to Turbo, thinking it’s someone misunderstanding expected behaviour. However, I instead found a corner case bug. It’s a complex bug but I was happy that it took just about an hour from starting debugging it to finishing the write up. I used a few techniques that helped me a lot and here I share them in short, in case you also need to do the same.
How to debug issues with Turbo Morphing | Radan Skorić's personal site #ruby #rubydeveloper #rubyonrails #debug #issues #Turbo #Morphing #Radan #Skorić's #personal #turbo https://rubyonrails.ba/link/how-to-debug-issues-with-turbo-morphing-radan-skoric-s-personal-site