Using async functions we can make our code easier to read and maintain, on this article I'll show you how I refactored real world code.
Have you already coded 2000 lines of if/then/else with crazy unreadable conditions? Have you updated/debugged/refactored this code to always see a test fail? (you do have unit tests, don't you?) Have you raged at the moment your nice switch statement didn't scale because you needed to add if statements in your cases? Well, looks like Lodash can AGAIN help you.
Next.js 9 includes TypeScript support, Dynamic Routing, API Routes, Automatic Static Optimization, and more!
Framer Motion is a production-ready React animation and gesture library.
Create the next immutable state by mutating the current one - immerjs/immer