Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 1
    FWIW the complexity is what's necessary to institute a persistent click effect. If you just want to do something temporarily that doesn't retain its state, this or many other solutions are fine and I agree definitely less complex. Commented May 21, 2019 at 20:18
  • Agreed. All in what you need the end result to be and always good to know all the options. This is a great thread for those for sure. Probably worth a whole medium article going over each and the benefits of them each! Commented Aug 25, 2019 at 20:01