This article provides the perfect view into React brain worms:
-
RE: https://mastodon.social/@sir_pepe/115923413113414435
This article provides the perfect view into React brain worms:
Instead of a native HTML input radio element
It’s somehow easier to import hundreds of lines of code, and implement a faux radio button (that’s actually a button with svg to LOOK LIKE A RADIO), and ARIA rules (to WORK LIKE A RADIO)
-
RE: https://mastodon.social/@sir_pepe/115923413113414435
This article provides the perfect view into React brain worms:
Instead of a native HTML input radio element
It’s somehow easier to import hundreds of lines of code, and implement a faux radio button (that’s actually a button with svg to LOOK LIKE A RADIO), and ARIA rules (to WORK LIKE A RADIO)
I find this to be the most common paradox of React “engineering”.
People say React is easy and DX focused, but then continue to add layer upon layer, brick by brick, to fix the structural issues beneath.
-
I find this to be the most common paradox of React “engineering”.
People say React is easy and DX focused, but then continue to add layer upon layer, brick by brick, to fix the structural issues beneath.
@benschwarz All the tools you need to do things you shouldn’t have to.
-
RE: https://mastodon.social/@sir_pepe/115923413113414435
This article provides the perfect view into React brain worms:
Instead of a native HTML input radio element
It’s somehow easier to import hundreds of lines of code, and implement a faux radio button (that’s actually a button with svg to LOOK LIKE A RADIO), and ARIA rules (to WORK LIKE A RADIO)
1000x this^^^^
I stopped doing front ends when this madness became pervasive and expected.
Give me a call when it stops.
-
RE: https://mastodon.social/@sir_pepe/115923413113414435
This article provides the perfect view into React brain worms:
Instead of a native HTML input radio element
It’s somehow easier to import hundreds of lines of code, and implement a faux radio button (that’s actually a button with svg to LOOK LIKE A RADIO), and ARIA rules (to WORK LIKE A RADIO)
@benschwarz because product designers are allergic to native UI elements
-
RE: https://mastodon.social/@sir_pepe/115923413113414435
This article provides the perfect view into React brain worms:
Instead of a native HTML input radio element
It’s somehow easier to import hundreds of lines of code, and implement a faux radio button (that’s actually a button with svg to LOOK LIKE A RADIO), and ARIA rules (to WORK LIKE A RADIO)
-
RE: https://mastodon.social/@sir_pepe/115923413113414435
This article provides the perfect view into React brain worms:
Instead of a native HTML input radio element
It’s somehow easier to import hundreds of lines of code, and implement a faux radio button (that’s actually a button with svg to LOOK LIKE A RADIO), and ARIA rules (to WORK LIKE A RADIO)
@benschwarz @sir_pepe this is not only React brainworms but is a double whammy along with "CSS isn't a real programming language so I'm going to ignore it and assume building something from scratch is easier than restyling".
-
@benschwarz @sir_pepe this is not only React brainworms but is a double whammy along with "CSS isn't a real programming language so I'm going to ignore it and assume building something from scratch is easier than restyling".
@mattdarveniza @sir_pepe ignorance 101
-
RE: https://mastodon.social/@sir_pepe/115923413113414435
This article provides the perfect view into React brain worms:
Instead of a native HTML input radio element
It’s somehow easier to import hundreds of lines of code, and implement a faux radio button (that’s actually a button with svg to LOOK LIKE A RADIO), and ARIA rules (to WORK LIKE A RADIO)
@benschwarz there's not a single web technology that I have more genuine anger for than React.
-
RE: https://mastodon.social/@sir_pepe/115923413113414435
This article provides the perfect view into React brain worms:
Instead of a native HTML input radio element
It’s somehow easier to import hundreds of lines of code, and implement a faux radio button (that’s actually a button with svg to LOOK LIKE A RADIO), and ARIA rules (to WORK LIKE A RADIO)
@benschwarz Reminds me of the developer I once worked with that used JQuery to round the corners on divs instead of CSS
-
RE: https://mastodon.social/@sir_pepe/115923413113414435
This article provides the perfect view into React brain worms:
Instead of a native HTML input radio element
It’s somehow easier to import hundreds of lines of code, and implement a faux radio button (that’s actually a button with svg to LOOK LIKE A RADIO), and ARIA rules (to WORK LIKE A RADIO)
@benschwarz I don't think this has anything to do with react necessarily, it's because the native elements don't provide a lot of flexibility. appearance: none didn't even exist until a few years ago. when the native elements don't meet the needs, the only option is to use custom elements
-
@benschwarz @sir_pepe this is not only React brainworms but is a double whammy along with "CSS isn't a real programming language so I'm going to ignore it and assume building something from scratch is easier than restyling".
@mattdarveniza @benschwarz @sir_pepe which in turn generates CSS code.
-
RE: https://mastodon.social/@sir_pepe/115923413113414435
This article provides the perfect view into React brain worms:
Instead of a native HTML input radio element
It’s somehow easier to import hundreds of lines of code, and implement a faux radio button (that’s actually a button with svg to LOOK LIKE A RADIO), and ARIA rules (to WORK LIKE A RADIO)
@benschwarz I agree! I’ve been thinking too often, “There is so much unnecessary javascript just to cover up that no one wants to learn css”
and so much extra styling shipped, just to keep from having to write a few styles that apply to more than one element for fear of unintended cascade
it’s so exhausting. I used to ship tiny sites with great styling. now I work for a corporation where I get chastised for ever writing my own styles (while the provided components never look right)
-
undefined oblomov@sociale.network shared this topic