Jason Knight
1 min readJul 6, 2021

--

Honestly, if you’re doing “extremely complicated animations on buttons” you’re probably overthinking everything, impressing nobody, and throwing bad markup on to of bad.

BUT I’d have to see the buttons in question to say for sure… but “complicated animation” to me automatically means bad UX.

As to what their “custom component” thing has to do with anything, I’ve got no clue since it doesn’t do anything that you can’t do with vanilla scripting or generate server-side… so how is it making things any better in that regard.

That’s one of my biggest problems with React… if used for just server-side rendering it doesn’t do anything I can’t do faster, cleaner, and simpler with normal functions/methods and the new-ish template strings. Client side it either is a complete waste of code for stuff that shouldn’t have JavaScript on them in the first place, or stuff that could be done in less code more easily if one just bothered learning how to use pain jane client-side JS.

Anyhow, do you have an example of one of these “extremely complicated” buttons? Dimes to dollars you’re either over-thinking it, or it’s something that you shouldn’t even be doing in the first place. That you said “extremely complicated” should be reason enough alone to re-evaluate whatever it is you’re doing.

--

--

Jason Knight
Jason Knight

Written by Jason Knight

Accessibility and Efficiency Consultant, Web Developer, Musician, and just general pain in the arse

Responses (1)