Reduce cognitive load for readers of your code by avoiding nesting of closures

InstructorKent C. Dodds

Share this video with your friends

Send Tweet

It's important to reduce the amount of trivial things readers of your code have to think about so they can reserve their brain space for more important things. Avoiding nesting of closures can help you accomplish this. In this lesson we'll get a quick look at the concept and how it can help reduce cognitive load for readers of your code.