{"p":"","h":{"iv":"ROXSYW+cfvEbFHu5","at":"ocxplSQjdRC3tXEtB/9/wg=="}}

@clarity @jplebreton when you use React the default is for it to compile classnames down to meaningless identifiers. It has as far as I know *one* upside, which is that in your source code you can use the same class name in multiple components without collisions happening. but there are imo better solutions to that, like namespacing. it sucks

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
JP

@darius @clarity that's what i figured, and yeah it seems like a bad default. i wouldn't be surprised if some shops deliberately depend on it for blocker evasion though. also weird how it gives end users a sort of visibility into the codebase/dev process (if generated name changes, you know when code was rebuilt and/or something in it changed)

0
2y
Replies