Update dependency react-apexcharts to v2#327
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Contributor
Author
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
d98d105 to
f022617
Compare
f022617 to
38becbb
Compare
38becbb to
d00e37d
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.1.1Release 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.