Groups
Groups
Sign in
Groups
Groups
PiLuD
Conversations
About
Send feedback
Help
https://typescript-eslint.io/rules/strict-boolean-expressions/
1 view
Skip to first unread message
Mike Austin
unread,
May 15, 2026, 11:56:19 AM (6 days ago)
May 15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PiLuD
A way to finally stop allowing string truthyness
if (!string) { }
which should be
if (string.length === 0) { }
.
On the flip side, a lot of React patterns break because many props are optional and could be undefined. Sigh.
Reply all
Reply to author
Forward
0 new messages