Copy
View this email in your browser
TWiW|28.6.20 #113

This week we take a look at refactoring a codebase to use Optional Chaining, Recoil state management, testing your API requests with confidence and more!

 

Enjoy 🎉

Lessons learned refactoring Optional Chaining into a large codebase
JavaScript

Lessons learned refactoring Optional Chaining into a large codebase

By Lea Verou
Lea Verou discusses what she learnt while refactoring a large codebase to use Optional Chaining.
Simple state management with Facebook’s new Recoil library
JavaScript

Simple state management with Recoil

By Ohans Emmanuel
Ohans Emmanuel walks through Recoil, one of the the new simple state management libraries from Facebook.
Safari 14 beta release notes
Browsers

Safari 14 beta release notes

By Apple
I don't usually cover browser releases but Safari is getting significant upgrades in its next iteration, from support for HTTP/3 and the BigInt data type to the :is() and :where() pseudo selectors.
Stop mocking fetch
Testing

Stop mocking fetch

By Kent C. Dodds
Kent C. Dodds discusses why you shouldn't mock fetch or your API Client in your tests and provides a recommendation on what you should do instead.
Copyright © 2020 This Week in Web, All rights reserved.


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Email Marketing Powered by Mailchimp