Skip to content

Reactively rebuild get_Props() functions when highlightSeriesKey is updated. Fixes Svelte 3/4 reactivity issues when hovering legend, points, etc#425

Merged
techniq merged 1 commit intomainfrom
fix-svelte4-simplified-chart-reactivity
Feb 28, 2025
Merged

Reactively rebuild get_Props() functions when highlightSeriesKey is updated. Fixes Svelte 3/4 reactivity issues when hovering legend, points, etc#425
techniq merged 1 commit intomainfrom
fix-svelte4-simplified-chart-reactivity

Conversation

@techniq
Copy link
Owner

@techniq techniq commented Feb 28, 2025

Fixes #422

…Key` is updated. Fixes Svelte 3/4 reactivity issues when hovering legend, points, etc
@changeset-bot
Copy link

changeset-bot bot commented Feb 28, 2025

🦋 Changeset detected

Latest commit: b4c16c9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
layerchart Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@techniq techniq changed the title fix(AreaChart|BarChart|LineChart|ScatterChart): Reactively rebuild get_Props() functions when highlightSeriesKey is updated. Fixes Svelte 3/4 reactivity issues when hovering legend, points, etc Reactively rebuild get_Props() functions when highlightSeriesKey is updated. Fixes Svelte 3/4 reactivity issues when hovering legend, points, etc Feb 28, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Feb 28, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
layerchart ✅ Ready (View Log) Visit Preview b4c16c9

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 28, 2025

Open in Stackblitz

npm i https://pkg.pr.new/layerchart@425

commit: b4c16c9

@techniq techniq merged commit bf894b6 into main Feb 28, 2025
5 checks passed
@techniq techniq deleted the fix-svelte4-simplified-chart-reactivity branch February 28, 2025 16:52
@github-actions github-actions bot mentioned this pull request Feb 28, 2025
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.

[LineChart] Reactivity issues with Svelte 4

1 participant

Comments