Skip to content

feat(react): add video component and utility hooks#293

Merged
mihar-22 merged 4 commits intomainfrom
feat/react-video-component
Jan 6, 2026
Merged

feat(react): add video component and utility hooks#293
mihar-22 merged 4 commits intomainfrom
feat/react-video-component

Conversation

@mihar-22
Copy link
Copy Markdown
Member

@mihar-22 mihar-22 commented Jan 5, 2026

Closes #294

@vercel vercel bot temporarily deployed to Preview – vjs-10-demo-html January 5, 2026 10:40 Inactive
@vercel
Copy link
Copy Markdown

vercel bot commented Jan 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
vjs-10-demo-html Ready Ready Preview, Comment Jan 6, 2026 0:01am
vjs-10-demo-next Ready Ready Preview, Comment Jan 6, 2026 0:01am
vjs-10-demo-react Ready Ready Preview, Comment Jan 6, 2026 0:01am
vjs-10-website Ready Ready Preview, Comment Jan 6, 2026 0:01am

@vercel vercel bot temporarily deployed to Preview – vjs-10-demo-react January 5, 2026 10:40 Inactive
@vercel vercel bot temporarily deployed to Preview – vjs-10-demo-next January 5, 2026 10:41 Inactive
@mihar-22 mihar-22 changed the title feat(react): add Video component and utility hooks feat(react): add video component and utility hooks Jan 5, 2026
@mihar-22 mihar-22 marked this pull request as draft January 5, 2026 12:46
Add the foundational React components and utilities for @videojs/react:

- Video component that auto-attaches to the nearest store context
- useComposedRefs hook for composing multiple refs (supports React 19
  cleanup pattern)
- Re-export createStore, useStoreContext, and base hooks from
  @videojs/store/react

Also sets up vitest for @videojs/react with 14 passing tests.
@mihar-22 mihar-22 force-pushed the feat/react-video-component branch from d9da458 to 28ea1c3 Compare January 6, 2026 12:00
@vercel vercel bot temporarily deployed to Preview – vjs-10-demo-html January 6, 2026 12:00 Inactive
@vercel vercel bot temporarily deployed to Preview – vjs-10-demo-react January 6, 2026 12:00 Inactive
@vercel vercel bot temporarily deployed to Preview – vjs-10-website January 6, 2026 12:00 Inactive
@vercel vercel bot temporarily deployed to Preview – vjs-10-demo-next January 6, 2026 12:01 Inactive
@mihar-22 mihar-22 marked this pull request as ready for review January 6, 2026 12:01
@mihar-22 mihar-22 merged commit a71a280 into main Jan 6, 2026
7 checks passed
@mihar-22 mihar-22 deleted the feat/react-video-component branch January 6, 2026 12:01
@github-actions github-actions bot mentioned this pull request Jan 6, 2026
@github-actions github-actions bot mentioned this pull request Feb 26, 2026
@github-actions github-actions bot mentioned this pull request Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

React: Add <Video> component and utility hooks

1 participant