Repository navigation
fix: stabilize useLayer references - #5272
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR Modified ComponentsLayer (@astryxdesign/core) · View in Storybook
Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Visual Regression82 added · 0 removed. View the report To accept these exact frames: Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
d9734ff to
fb34896
Compare
fb34896 to
abab3ca
Compare
|
/accept-visual 33093725183/1 The change only stabilizes ref and return-object identity; these added Layer frames establish the missing baseline without an intended visual change. |
|
Visual changes accepted for |



Summary
useLayerstable across unrelated rerendersFixes #5271.
Test plan
main: the three identity tests fail (3 failed, 43 passed)pnpm vitest run packages/core/src/Layer/useLayer.test.tsx— 46 passedpnpm lint:strictpnpm buildpnpm vitest run --maxWorkers=8— 12,226 passed, 5 skipped