Update dependency react-apexcharts to v2#61
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
9f5a35e to
8cf44c4
Compare
8cf44c4 to
4310304
Compare
4310304 to
21aad17
Compare
21aad17 to
71e38cb
Compare
71e38cb to
710fa69
Compare
710fa69 to
92a4567
Compare
92a4567 to
1f39614
Compare
1f39614 to
54a403c
Compare
54a403c to
42c5685
Compare
42c5685 to
e0a3b95
Compare
e0a3b95 to
312b9bf
Compare
312b9bf to
ab84b2f
Compare
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 contains the following updates:
^1.4.0→^2.0.0Release Notes
apexcharts/react-apexcharts (react-apexcharts)
v2.1.1: React ApexCharts v2.1.1Compare Source
🐛 Bug fixes
Fixed a crash on chart teardown —
Cannot read properties of undefined (reading 'node')(#602)When a chart was rendered or updated while its container was detached from the DOM - e.g. it's closed/hidden and reopened, a modal or tab unmounts it, or a queued window-resize redraw fired right after unmount - the underlying chart instance never finished setting up its SVG. The subsequent teardown then dereferenced an undefined element and threw. Because this happened inside React's
useEffectcleanup, it could crash the entire component tree, not just the chart. The crash was commonly reported alongsidechart.idandresponsiveoptions, which share the same teardown/resize path.The unmount cleanup is now guarded across all client and hydrate entry points, so a teardown error can no longer crash your React tree — on any installed
apexchartsversion.This pairs with the root-cause fix in
apexcharts@5.15.1. For the complete fix, upgrade both:v2.1.0Compare Source
v2.0.1: React ApexCharts v2.0.1Compare Source
Patch Release: SSR Example & Minor Fixes
This patch release adds a comprehensive SSR example project to help developers integrate React ApexCharts with Next.js and other SSR frameworks.
New SSR Example Project
Added a complete Next.js App Router example demonstrating SSR capabilities:
example-ssr/react-apexcharts/serverreact-apexcharts/hydrate🐛 Bug Fixes
v2.0.0: React ApexCharts v2.0.0Compare Source
Major Release: Server-Side Rendering (SSR) Support
This release introduces first-class support for Server-Side Rendering, making React ApexCharts fully compatible with Next.js App Router, React Server Components, and other modern SSR frameworks.
New Features
Server-Side Rendering (SSR) Support
React ApexCharts now provides dedicated components and exports for seamless SSR integration:
New Export:
react-apexcharts/serverServer-side component for rendering static chart markup without client-side JavaScript:
New Export:
react-apexcharts/hydrateClient-side component for hydrating server-rendered charts with interactivity:
Modern Package Exports
Enhanced
exportsfield inpackage.jsonfor better module resolution:{ ".": { "import": "./dist/react-apexcharts.esm.js", "require": "./dist/react-apexcharts.cjs.js" }, "./server": { "import": "./dist/react-apexcharts-server.esm.js" }, "./hydrate": { "import": "./dist/react-apexcharts-hydrate.esm.js" } }v1.9.0Compare Source
v1.8.0Compare Source
v1.7.0Compare Source
v1.6.0Compare Source
v1.5.0Compare Source
v1.4.4Compare Source
v1.4.3Compare Source
v1.4.2Compare Source
v1.4.1Compare Source
Configuration
📅 Schedule: (in timezone Asia/Jerusalem)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.