Re:React v17.0 Release Candidate: No New Features
by azangru on Tuesday August 11, 2020 @06:38AM
(#24118966)
I thought this style was generally disfavored? It's perfectly possible to pass `true` as a valueless prop (<MyComponent disabled />); and yet either the default typescript linter, or typescript itself (I never investigated) complains of this syntax.
[ Parent
| on HN ]
There are no comments on this comment yet.