Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

daxter's avatar

daxter wrote a comment+100 XP

5mos ago

The TALL Developer : Ep 6, Make Our App Interactive Using Alpine

HI, I have a question regarding show and hide buttons. Is it okay to use one button (instead of two) and dynamically change its title, based on the state of "showDetails"? Which way is better in terms of UX?