DEV Community

How to Use the Optional Chaining Operator in Your React App Right Now

John Au-Yeung on January 08, 2020

Subscribe to my email list now at http://jauyeung.net/subscribe/ Follow me on Twitter at https://twitter.com/AuMayeung Many more articles at http...
Collapse
 
mohammedfaragallah profile image
Mohammed Faragallah

optional chaining is supported by CRA with the latest version.

Collapse
 
aumayeung profile image
John Au-Yeung

Thanks for pointing that out.

The 2 choices for using the optional chaining operator is to update to latest CRA or update Babel.