DEV Community

Discussion on: Optional chaining with React

Collapse
 
akirautio profile image
Aki Rautio

I would agree that performance wise it's not the best and the transpiled code looks ugly. But if this starts to cause performance issues, I would rather optimize the Babel transpiling than trying to fix it inside the application. Transpiling won't be eventually needed for most of browsers so this is a "temporary" issue.