DEV Community

Bret
Bret

Posted on

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

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???

Top comments (0)