react-patterns

Installation
SKILL.md

React Patterns

Modern React patterns for production applications.

Hooks

Custom hooks — extract reusable logic

// useFetch hook
function useFetch<T>(url: string) {
  const [data, setData] = useState<T | null>(null);
  const [error, setError] = useState<Error | null>(null);
  const [loading, setLoading] = useState(true);

  useEffect(() => {
    const controller = new AbortController();
    fetch(url, { signal: controller.signal })
      .then(res => res.json())
Related skills

More from thinkfleetai/thinkfleet-engine

Installs
2
First Seen
Mar 1, 2026