alfindev's profile picture.

Alfin Dev

@alfindev

Alfin Dev heeft deze post opnieuw geplaatst

github, please fix your React re-renders. literally every time i scroll it renders 100×


Alfin Dev heeft deze post opnieuw geplaatst

⚛️ React compiler looks promising! Imagine getting rid of all the useMemo, useCallback, memo...


Alfin Dev heeft deze post opnieuw geplaatst

.@supabase Design System WIP

JSummersMuir's tweet image. .@supabase Design System WIP

Alfin Dev heeft deze post opnieuw geplaatst

peak product design


Alfin Dev heeft deze post opnieuw geplaatst

🥲 Good hydration error DX

sebastienlorber's tweet image. 🥲 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



Alfin Dev heeft deze post opnieuw geplaatst

Found this neat tool jsonviewer.tools/editor

alfonsusac's tweet image. Found this neat tool

jsonviewer.tools/editor

Alfin Dev heeft deze post opnieuw geplaatst

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…


Alfin Dev heeft deze post opnieuw geplaatst

5 GitHub repositories that will make your life 90% easier if you write code:


Alfin Dev heeft deze post opnieuw geplaatst

⚛️ React tip: use string literals + union type in typescript to specify exact string values in props ↓


Alfin Dev heeft deze post opnieuw geplaatst

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.

housecor's tweet image. In TypeScript, I often prefer to use a Record over a switch statement.

✅ It&apos;s easy to read.
✅ It&apos;s typically less code.
✅ It&apos;s safer. With a switch, I have to do extra work to assure it&apos;s exhaustive. With a Record, if I forget to handle a case, it won&apos;t compile.

Alfin Dev heeft deze post opnieuw geplaatst

Just released Vaul Svelte 🚀 🔗 vaul-svelte.com 📁 github.com/huntabyte/vaul…

huntabyte's tweet image. Just released Vaul Svelte 🚀
🔗 vaul-svelte.com
📁 github.com/huntabyte/vaul…

Alfin Dev heeft deze post opnieuw geplaatst

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😮‍💨.

yousaf_sbr's tweet image. been working with react-query for the past 6 months. Now I&apos;m working on a project that uses rtk-query &amp;amp; it feels the same. Aaand, I&apos;m happy for it 🙂, as I didn&apos;t have to learn another library😮‍💨.


Alfin Dev heeft deze post opnieuw geplaatst

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

Loading...

Something went wrong.


Something went wrong.