DEV Community

Discussion on: React Beginner Question Thread ⚛

Collapse
 
edmilsonrobson profile image
Edmilson Rocha

Interesting... Yeah, I can totally see how abstracting complex conditions into a variable can be useful. I guess it makes a lot of sense - it's all just javascript in the end.

Thanks for the answer!