Skip to main content

Overview

This guide covers patterns for integrating Refine into React applications, including custom hooks, context providers, and component patterns.

Setup

Create SDK Instance

Context Provider

Custom Hooks

useSearch

useRecommendations

useViewability

Component Patterns

Search Results Page

Product Card with Viewability

Identity Management

Auth Integration

Provider with Auth

Purchase Tracking

Next Steps

Server-Side Usage

SSR and API patterns

Event Tracking

Complete event tracking guide