Hi Jess, thanks for the tutorial. I'm building some buttons for my component library, and am trying to allow the button to still trigger it's primary function while changing the state. IE activate loading state and then navigate to the href. Any thoughts? Currently thinking of persuing a similar methodoly used here (preventing default, doing work, and then triggering default once work is complete), but without jquery: stackoverflow.com/questions/761087...
We're a place where coders share, stay up-to-date and grow their careers.
Hi Jess, thanks for the tutorial. I'm building some buttons for my component library, and am trying to allow the button to still trigger it's primary function while changing the state. IE activate loading state and then navigate to the href. Any thoughts? Currently thinking of persuing a similar methodoly used here (preventing default, doing work, and then triggering default once work is complete), but without jquery:
stackoverflow.com/questions/761087...