github, please fix your React re-renders. literally every time i scroll it renders 100×
⚛️ React compiler looks promising! Imagine getting rid of all the useMemo, useCallback, memo...
peak product design
🥲 Good hydration error DX
Next.js 14.2 ◆ Turbopack (RC): 99.8% of tests passing for `next dev --turbo` ◆ Build / Production Improvements: Reduced memory usage ◆ Caching Improvements: Configurable client-side cache revalidation ◆ Errors DX: Better hydration mismatch messages nextjs.org/blog/next-14-2
Found this neat tool jsonviewer.tools/editor
Couple cool App Router patterns that blew my mind. 1️⃣ Logout is a <form>, not a <Link> If it quacks like a form, needs CSRF protection, mutates remote state, has a pending state, it's a Server Action, not a <Link> or effect…
5 GitHub repositories that will make your life 90% easier if you write code:
⚛️ React tip: use string literals + union type in typescript to specify exact string values in props ↓
In TypeScript, I often prefer to use a Record over a switch statement. ✅ It's easy to read. ✅ It's typically less code. ✅ It's safer. With a switch, I have to do extra work to assure it's exhaustive. With a Record, if I forget to handle a case, it won't compile.
Just released Vaul Svelte 🚀 🔗 vaul-svelte.com 📁 github.com/huntabyte/vaul…
We're about to add an api inspired by RTK-query's AutoBatchEnhancer to react-query so the meme really goes both ways 😂
been working with react-query for the past 6 months. Now I'm working on a project that uses rtk-query & it feels the same. Aaand, I'm happy for it 🙂, as I didn't have to learn another library😮💨.
Introducing Plate: the modern rich-text editor for React. github.com/udecode/plate ◆ Core: Plugin system. ◆ Plugins: 50+ Headless, unstyled packages. ◆ Primitives: State and behavior hooks. ◆ Components: @radix_ui + @shadcn ui. Free. Open Source. Responsive. Dark Mode.
United States Trends
- 1. Seahawks 21.1K posts
- 2. Giants 66.7K posts
- 3. Bills 135K posts
- 4. Bears 59.6K posts
- 5. Dart 26K posts
- 6. Daboll 11.7K posts
- 7. Caleb 48.7K posts
- 8. Jags 6,791 posts
- 9. Dolphins 32.6K posts
- 10. Rams 16.5K posts
- 11. Josh Allen 15.9K posts
- 12. Texans 37.9K posts
- 13. Russell Wilson 3,983 posts
- 14. Browns 37.6K posts
- 15. Patriots 106K posts
- 16. Ravens 37.8K posts
- 17. Trevor Lawrence 2,520 posts
- 18. Henderson 17.3K posts
- 19. Bryce 15.6K posts
- 20. Niners 3,138 posts
Something went wrong.
Something went wrong.