Skip to content

Conversation

@MichaelDeBoey
Copy link
Member

@xkrsz
Copy link

xkrsz commented Nov 23, 2021

Wondering if casting to a boolean and keeping the && is an equally good solution 🤔

@MichaelDeBoey MichaelDeBoey force-pushed the use-ternaries-instead-of-and-and branch from 1cafc8c to 400f6be Compare November 24, 2021 13:47
@remix-cla-bot
Copy link
Contributor

remix-cla-bot bot commented Nov 24, 2021

Thank you for signing the Contributor License Agreement. Let's get this merged! 🥳

@MichaelDeBoey MichaelDeBoey force-pushed the use-ternaries-instead-of-and-and branch 2 times, most recently from bab5b89 to a5cd85f Compare November 24, 2021 22:57
@MichaelDeBoey MichaelDeBoey force-pushed the use-ternaries-instead-of-and-and branch from a5cd85f to 0621074 Compare November 26, 2021 10:34
Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hee hee hee. And because I'm the docs owner I get to do this :)

@kentcdodds kentcdodds merged commit eacd4de into remix-run:dev Nov 29, 2021
@kentcdodds
Copy link
Member

Oh rats. I just realized a few of these have highlighted lines that will be off based on this change. @MichaelDeBoey, do you think you could take a minute to check and fix any highlighted lines that broke as a result of this change?

@MichaelDeBoey
Copy link
Member Author

@kentcdodds I'll look into this and create a separate PR 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants