Who thinks adding a prefix of $
is the right solution to React complaining about non-DOM props?!
#4105
Unanswered
zackarydev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I personally hate it.
It's giving me PHP vibes, or Angular.
"Let's just add a new symbol because we don't know how else to solve this" isn't the right approach IMO
Which is made even more unreadable in the definition of the styled-component:
(granted there's a double ternary which isn't great)
Maybe my favourite though is:
Beta Was this translation helpful? Give feedback.
All reactions