chore(work): finish 08-react-provider
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user