React hooks are full of footguns that make it easy to introduce bugs in your code.
I have trained hundreds of developers on React and how to use React hooks effectively.
Here are a few of the most egregious and common ways people misuse hooks.
1/n
Split Route Modules are coming to React Router v7 🔥
This is a nice performance improvement for large components and small client loaders / actions / HydrateFallback in SPA.
#ReactRouterV7#remix#react
⚠️ Developers, please be careful when installing Homebrew.
Google is serving sponsored links to a Homebrew site clone that has a cURL command to malware. The URL for this site is one letter different than the official site.
How do we design effective and safe APIs?
The diagram below shows typical API designs with a shopping cart example.
Note that API design is not just URL path design. Most of the time, we need to choose the proper resource names, identifiers, and path patterns. It is equally important to design proper HTTP header fields or to design effective rate-limiting rules within the API gateway.
Over to you: What are the most interesting APIs you’ve designed?
--
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): https://t.co/eVEdOFSYPY
🎉 Just announced! WebStorm is now free for non-commercial use!
Whether you’re learning #JavaScript, working on open-source projects, creating content, or coding as a hobby, you can now do so for free 🥳
🔗 https://t.co/oTcCcGNa8H
@iamcoriarnold Great insights 👏 I especially agree with diversifying income streams, it's all about finding ways to grow your wealth beyond just relying on active work.
The merchants of complexity will try to convince you that you can't do anything yourself these days. You can't do auth, you can't do scale, you can't run a database, you can't connect a computer to the internet. You're a helpless peon who should just buy their wares. No. Reject.
🎀 little-date: A tiny library that makes date ranges short and sweet.
Originally built as part of a Vercel hackathon to make our date picker more compact. Now open-source on GitHub. 👇
https://t.co/3rKhad5Cve
My first manager at Uber started a GitHub page back at the time with resources to become a more proficient developer - ones he personally found helpful (he did not have a CS degree).
I realized he is *still* updating it, 7 years later! A neat list: https://t.co/QtWeltMDWz