use-modern-browser-apis
Using Modern Browser APIs
We prefer native, modern browser APIs — standardized, widely supported, and high-leverage — to heavy external libraries or custom fallbacks. Use them to simplify logic, improve performance, and reduce bundle size where appropriate.
Philosophy
- PREFER browser-native capabilities over third-party dependencies
- PROGRESSIVE ENHANCE: Always provide sensible fallbacks for APIs that aren’t available in all clients
- ASYNC & SECURE: Use promise-based and secure context APIs for non-blocking, safe access
Core & Widely Supported APIs
These APIs are stable, broadly implemented, and useful in everyday applications.
UI & Interaction
More from academind/ai-config
web-security
Enforce web security and avoid security vulnerabilities
109modern-best-practice-react-components
Build clean, modern React components that apply common best practices and avoid common pitfalls like unnecessary state management or useEffect usage
73modern-best-practice-nextjs
Build modern Next.js apps with App Router and best practices
51clean-typescript
Write clean, efficient TypeScript code that follows common best practices
46modern-tailwind
Build clean, scalable UIs with Tailwind CSS using modern utilities and variants
32modern-accessible-html-jsx
Write clean, modern, and highly accessible HTML & JSX code, using semantically correct elements and attributes
27