I'm excited to share my first new book (or e-book) in over five years! Understanding JavaScript Promises explains not just how promises work but also how to use them in the real world.
And the best part? It's free. Grab yours now.
https://t.co/BydS3RpqOv
Introducing "Learning Patterns": https://t.co/qNsCE9tsIF - a free 435+ page book on JavaScript + React design & performance patterns from @lydiahallie and I. On the web, ePub & PDF.
.@TestingLib makes testing async @reactjs code easy! It used to be hard to know when to run the assertion. We'd use setTimeout, resulting in flaky tests.
Now I can wrap my assertion in "waitFor." It'll re-run until it passes.
🚀 Fast
✅ Reliable
Thank you, @kentcdodds!
BIG news! React Router v6 is now stable. 🙌
This is the best router we’ve ever released. We took all the best parts of every major version and combined them in v6.
Enjoy! 😅
Checklist: How to make your React app faster ⚛️:
✅ Keep state as local as possible. Start by declaring state in the component that uses it. Lift as needed.
✅ Store data that doesn't need to render in refs
✅ Minimize context usage
1/x...
Is performance on the web getting better? The answer is yes :) 33% of origins now meet the Core Web Vitals thresholds! Lots of improvements from sites using a framework too.