Skip to content

refactor!: 992 removal of emit from usetrescontextprovider composable #999

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Tinoooo
Copy link
Contributor

@Tinoooo Tinoooo commented Apr 22, 2025

No description provided.

Tinoooo and others added 25 commits April 16, 2025 14:03
…er-logic-from-usetrescontextprovider-to-userenderer-2
BREAKING CHANGE:

- useRenderer now returns invalidate and advance
- useTresContextProvider no longer contains render state
…de renderer being wrapped inside the context

BREAKING CHANGE:

- invalidate, advance, canBeInvalidated and the renderer instance are now accessed through the context via `renderer`
- the renderer instance in the context is now readonly
…anager

BREAKING CHANGE:

- the type `EmitEventName` is no longer exported from @Tresjs/core
- the type `EmitEventFn` is no longer exported from @Tresjs/core
@Tinoooo Tinoooo self-assigned this Apr 22, 2025
@Tinoooo Tinoooo linked an issue Apr 22, 2025 that may be closed by this pull request
4 tasks
Copy link

netlify bot commented Apr 22, 2025

Deploy Preview for tresjs-docs ready!

Name Link
🔨 Latest commit e6def5c
🔍 Latest deploy log https://app.netlify.com/sites/tresjs-docs/deploys/6807bcb5c3da250008451804
😎 Deploy Preview https://deploy-preview-999--tresjs-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Tinoooo Tinoooo changed the base branch from main to next April 22, 2025 15:59
Tinoooo added 5 commits April 22, 2025 18:30
…er-to-userenderer-2' into chore/992-removal-of-emit-from-usetrescontextprovider-composable
…er-to-userenderer-2' into chore/992-removal-of-emit-from-usetrescontextprovider-composable
@Tinoooo Tinoooo marked this pull request as ready for review April 22, 2025 16:38
@Tinoooo Tinoooo requested a review from alvarosabu as a code owner April 22, 2025 16:38
Copy link

pkg-pr-new bot commented Apr 22, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@tresjs/core@999

commit: 4afb5da

@Tinoooo Tinoooo merged commit 090adf3 into next Apr 22, 2025
4 checks passed
@Tinoooo Tinoooo deleted the chore/992-removal-of-emit-from-usetrescontextprovider-composable branch April 22, 2025 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

removal of emit from useTresContextProvider composable
2 participants