Lea Verou 18.06.2020

Refactoring optional chaining into a large codebase: lessons learned

Przeczytaj oryginał

This article details the process of refactoring the Mavo JavaScript library to use optional chaining. It explains what optional chaining is, provides patterns to search for during refactoring (like conditionals and ternaries), and offers practical examples and caveats, such as when not to overuse the new syntax.

Refactoring optional chaining into a large codebase: lessons learned

komentarzy

Brak komentarzy

Bądź pierwszy, który podzieli się swoimi myślami!

Rozszerzenie przeglądarki

Uzyskaj natychmiastowy dostęp do AllDevBlogs z przeglądarki

Tydzień

No top articles yet