Lea Verou 18-6-2020

Refactoring optional chaining into a large codebase: lessons learned

Read Original

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

reacties

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet