01. Curated Features

|

|

REFERENCE ID 140
useLocalStorage.ts
function useLocalStorage<T>(key: string, initialValue: T) {
// State to store our value
const [storedValue, setStoredValue] = useState<T>(() => {
try {
const item = window.localStorage.getItem(key);
return item ? JSON.parse(item) : initialValue;
} catch (error) {
console.log(error);
return initialValue;
}
});
return [storedValue, setStoredValue] as const;
}

|

Optimizing Core Web Vitals in Next.js 14
NEXT.JS
MAY 10, 2024
READ_TIME8 MIN

Optimizing Core Web Vitals in Next.js 14

A deep dive into the underlying metrics that drive the App Router's performance and how to leverage them for SEO dominance.

#PERFORMANCE#SEO
VIEW_FULL_LOG
Minimalism is a Technical Requirement
UI DESIGN
MAY 05, 2024
READ_TIME6 MIN

Minimalism is a Technical Requirement

Exploring how simplified interfaces reduce cognitive load and improve developer productivity in documentation systems.

#UX#PRODUCTIVITY
VIEW_FULL_LOG
Tailwind CSS v4: The Engine Rewrite
CSS
APR 28, 2024
READ_TIME15 MIN

Tailwind CSS v4: The Engine Rewrite

What the move to Rust and the new Lightning CSS integration means for your build times and design workflow.

#TOOLING#RUST
VIEW_FULL_LOG

|

JD
@jason_dev
18 Apr, 10:32 AM

Just implemented the new RSC strategy from Ravi's latest log. Performance gains are incredible. 🚀

242
25
AD
@alex_dev
19 Apr, 12:45 PM

Contributed a new snippet for Type-safe form validation to the community library. Check the PR!

PR #1024 - feat(forms): add zod-hook
MK
@m_keller
20 Apr, 09:15 AM

"The TypeScript Roadmap PDF is exactly what I needed to bridge the gap as a visual designer. Highly recommend."