Can I use ternary operator in JSX?

you can simply use ternary in render component . so let’s see bellow example that will help you to understand how it works. First example will cover react ternary statement in render function.

Sizin İçin Seçtik  Can Hooks replace Redux?

Leave a Reply

Your email address will not be published. Required fields are marked *