Hector Ayala
Sep 18, 2022

--

If you're doing this, why not have this logic live in the funcional compoment prior to the return, store each part of the conditionals in variable and use those variables in the places they are expected? This feels like polluting UI logic with component logic.

--

--

Hector Ayala
Hector Ayala

Written by Hector Ayala

Co-founder and CTO of Hyperion. Tech entrepreneur from Puerto Rico 🇵🇷 Interested in combining tech, business, and product design.

No responses yet