navigation-providers

Installation
SKILL.md

Navigation Providers

Core Principles

Use entry providers to establish application context hierarchy. Providers wrap components with necessary context like navigation, theming, data access, query clients, and error boundaries.

Always throw error if context is used without provider. This prevents runtime errors and makes debugging easier by failing fast with clear error messages.

Memoize provider values with useMemo. This prevents unnecessary re-renders of context consumers when provider props haven't changed.

Why: Providers establish the runtime environment and ensure all components have access to required services in the correct order.

When to Use This Skill

Use these patterns when:

Installs
1
GitHub Stars
3
First Seen
Apr 22, 2026