DEV Community

loading...

Using APOLLO-GRAPHQL, how do you conditional render? (If Bool is True)?

Bret
・1 min read

I have a field of “toxic” if it’s true, I want to display “danger”, BUT, this is coming from a query feild. How do I determine it from a query???

Discussion (0)