W

Web Development

Everything from HTML basics to full-stack frameworks and modern web standards

15 categories · 3+ articles

No articles yet in this category.

No articles yet in this category.

No articles yet in this category.

React Tutorial

React Hooks Part 8: Rules, Anti-Patterns, and the ESLint Plugin

Hooks come with two hard rules enforced by the ESLint plugin. This article explains why those rules exist, the most common anti-patterns developers fall into, and how to restructure code when you feel the urge to break them.

w
webencher Editorial
· 7 min read · 264 views
React Tutorial

React Hooks Part 9: Testing Hooks with React Testing Library

Hooks are just functions, but testing them well requires care. This final article covers testing hooks through components (the preferred way), using renderHook for isolated custom hook tests, and common async patterns.

w
webencher Editorial
· 10 min read · 245 views

No articles yet in this category.

No articles yet in this category.

No articles yet in this category.

No articles yet in this category.

No articles yet in this category.

No articles yet in this category.

No articles yet in this category.

No articles yet in this category.

No articles yet in this category.

No articles yet in this category.

No articles yet in this category.