Original Copy 001 - Testing JavaScript
This week I wrapped up Kent C. Dodd's course, Testing JavaScript. I highly recommend it to anyone who's looking to improve their testing skills.
It's a little pricey at $270 for the Pro version. If you are a working developer, make sure to reach out to your company and ask if they'll pay for it! π°
While we're on the topic of testing, here's a good tweet for ya:
Write tests. Not too many. Mostly integration.
β Guillermo Rauch (@rauchg) December 10, 2016
The idea here is that integration tests offer a good balance between:
- time spent writing the tests
- confidence the tests give you about your code
I find this to be very true when testing user interfaces.
π On the blog
Last week I spent some time writing about the newly introduced (and yet to be finalized) React Hooks API. Check out the posts if you haven't already!
Seriously good stuff
π» mdx-deck
MDX-based presentation decks. I gave an internal talk this week to some of my co-workers and I used mdx-deck
for the first time. So easy to get up and running. Default themes are excellent. Deployed easily with now.
π± Siri shortcuts
I started playing around with siri shortcuts this past weekend and, although I haven't created much other than a useful Todoist shortcut, but I can see the possibilities!
π» tink
An experimental package manager for JavaScript, and is being actively developed by some members of the npm
CLI team. It's not production-ready, but I was poking around the npm
Discourse and found an interesting snippet in the FAQ for tink
:
Once tink matures beyond being an experiment and itβs been in general use for long enough to prove its worth, we intend to sunset the current npm CLI and rename tink to npm. It will be a big change, but most things will work the same, even if the installer looks very different.
π§ React Today and Tomorrow with The React Core Team
This was a refreshing podcast and very informative. The entire React team was around to talk about the new updates in React 16.6 along with some new changes to the library coming soon (Hooks!). Highly recommend giving it a listen.
Talk to you next week,
Happy coding! πΎ