chore: version packages - #85
Merged
Merged
Conversation
Deploying effex with
|
| Latest commit: |
35eb193
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b2783344.effex.pages.dev |
| Branch Preview URL: | https://changeset-release-main.effex.pages.dev |
Deploying effex-api with
|
| Latest commit: |
35eb193
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0cb0ea72.effex-api.pages.dev |
| Branch Preview URL: | https://changeset-release-main.effex-api.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@effex/dom@1.4.8
Patch Changes
30f2c32: fix(animation): wait one paint before hydration enter animations
On cold first-load (new tab, no cache), the browser can schedule the
hydration fiber before it finishes parsing/applying stylesheets — either
<link>sheets that are still being fetched or Vite dev's JS-injectedstyles that haven't been evaluated yet.
When that happened,
runEnterAnimation'sforceReflowcaptured a"before" state with no
transition-propertyset, then the class swaphappened instantly — the transition-triggering moment passed without
transition-* in effect,
transitionendnever fired, and the animationsystem logged the "Animation timeout reached" warning after 5 seconds.
The affected element ended up at its enterTo state with no animation.
Refresh made the problem go away because stylesheets were already cached
and applied synchronously.
forkSlotEnternow waits for a singlerequestAnimationFrameon thehydration path before starting the enter lifecycle. rAF runs just before
the browser's next paint, at which point all pending stylesheet parsing
is complete, so
forceReflowcaptures the correct pre-transition stateand the class swap fires a proper transition.
The wait is scoped to hydration only; post-hydration animations (route
changes, list reconciles) don't pay the rAF cost.
567a41c: fix(router): Outlet now actually applies its animation configuration
OutletConfig.animatewas defined in the type but never read in theimplementation — the underlying
reconcilecall passed onlygetTargetKeysandrenderSlot, so nothing wired the animation configthrough to the control ctx. Consumers configuring
animatesaw abruptroute transitions regardless of what they set.
Outletnow providesAnimationConfigCtx(the same tagwhen/match/eachuse) viaEffect.provideService, matching the pattern thosecombinators follow.
provideServiceusesprovideContextinternallyrather than
provideSomeLayer'sscopedWith— no scope is created andno finalizer race is introduced (see fix(hydrate): keep options.layers alive for the app's lifetime #78 for the finalizer-race pattern
we're deliberately avoiding).
Also adds an
intro?: booleanfield toOutletConfig, so the initiallymatched route can re-animate on hydration in cases like a decorative
opening scene. Same shape as
when/match/each/animated.AnimationConfigCtxandClientControlCtxare now re-exported from@effex/dom's package root (they were exported from@effex/dom/Control/index.tsbut not lifted).@effex/router@1.3.9
Patch Changes
567a41c: fix(router): Outlet now actually applies its animation configuration
OutletConfig.animatewas defined in the type but never read in theimplementation — the underlying
reconcilecall passed onlygetTargetKeysandrenderSlot, so nothing wired the animation configthrough to the control ctx. Consumers configuring
animatesaw abruptroute transitions regardless of what they set.
Outletnow providesAnimationConfigCtx(the same tagwhen/match/eachuse) viaEffect.provideService, matching the pattern thosecombinators follow.
provideServiceusesprovideContextinternallyrather than
provideSomeLayer'sscopedWith— no scope is created andno finalizer race is introduced (see fix(hydrate): keep options.layers alive for the app's lifetime #78 for the finalizer-race pattern
we're deliberately avoiding).
Also adds an
intro?: booleanfield toOutletConfig, so the initiallymatched route can re-animate on hydration in cases like a decorative
opening scene. Same shape as
when/match/each/animated.AnimationConfigCtxandClientControlCtxare now re-exported from@effex/dom's package root (they were exported from@effex/dom/Control/index.tsbut not lifted).Updated dependencies [30f2c32]
Updated dependencies [567a41c]
docs@0.0.32
Patch Changes