Another week, another newsletter. Let’s get to it!
If you work in Reactland, David provides some effective advice about useEffect. Dig into the thread.
*Don’t use it for fire-and-forget effects.— David K. 🎹 (@DavidKPiano) May 4, 2022
Use it for synchronization.
Execute effects in event handlers.
If you’re into TypeScript and get confused by some errors, Matt Pocock dropped a useful extension for VS Code. More error translations are on the way. Thanks for this Matt!
Fellow Montrealer Josh W. Comeau dropped another gem of an article
Rapid API’s Twitter account has been churning out lots of great explainer threads. Here’s the latest one on websockets. If you aren’t already following on Twitter, I highly recommend it.
An introduction to WebSockets.— RapidAPI (@Rapid_API) May 2, 2022
For context, for non-Canadians, the CBC is the Canadian Broadcasting Corporation, a TV channel that’s been around forever in Canada.
Before he was a Hollywood actor, KEANU REEVES worked for CBC and did a news report on a Teddy Bear convention in 1984. pic.twitter.com/kXV8kyOWfB— All The Right Movies (@ATRightMovies) May 3, 2022
the best way to get the right answer on the internet is not to ask a question; it’s to post the wrong answer.— bdougie on the internet (@bdougieYO) May 6, 2022
I wrote a post on my current keyboard as well as put out a discussion post on dev.to about keyboards. Lot of great responses in there if you’re looking for a new keyboard.
I really enjoyed investigating a bug with Remix and Netlify Edge functions. It took a bit of time to figure out, but super satisfying once I did figure out the issue. Check it out!