chore(work): finish 08-react-provider

This commit is contained in:
2026-05-18 17:56:52 +02:00
parent a7e0bf290d
commit 940a804944
3 changed files with 8 additions and 13 deletions

View File

@@ -3,12 +3,12 @@ id: 08-react-provider
epic: product-analytics-channel
title: Add React provider to @repo/core-analytics
type: technical-story
status: todo
status: done
feature: core-analytics
depends-on: [02-recording-analytics]
blocks: [09-documentation]
created: 2026-05-18T12:07:00Z
updated: 2026-05-18T10:46:27.080Z
updated: 2026-05-18T15:56:54.277Z
---
## Goal
@@ -40,4 +40,4 @@ Server-side use cases receive analytics through `BindContext.analytics`. Client-
## Tasks
- [ ] Add `AnalyticsProvider` + `useAnalytics()` to `packages/core-analytics/src/react/`, wire `./react` subpath export in `package.json`, write React Testing Library test using `RecordingAnalytics` asserting `track` flows through context — all gates pass on this commit.
- [x] Add `AnalyticsProvider` + `useAnalytics()` to `packages/core-analytics/src/react/`, wire `./react` subpath export in `package.json`, write React Testing Library test using `RecordingAnalytics` asserting `track` flows through context — all gates pass on this commit.