Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zingchart-React compatibility with React 18+ #48

Merged
merged 11 commits into from
Dec 7, 2023

Conversation

Bramikke
Copy link
Contributor

@Bramikke Bramikke commented Dec 5, 2023

Compatibility update for React 18

Version 3.2.0

This update addresses the compatibility issues with React 18 and future upcoming versions.

A small demo project has been added to test future changes immediately.
The Zingchart-react wrapper has been moved to /src/lib.

Changelog

  • Added React 18+ compatibility
  • Added demo project
  • Moved Zingchart-react wrapper to src/lib
  • Cleanup unused dist/ files
  • Various code improvements

- Prefer ESM of ES
- Removed sourcemaps

- Updated unit tests
- Use `npm ci` to run a clean installation
- Updated packages
- Remove of unused scripts
- Updated Zingchart version number
Created a small demo app to test future changes
- Moved the ZingChart component to `src/lib`
- Do not commit generated output files
@Bramikke Bramikke changed the title Zingchart-react compatible with React 18+ Zingchart-react compatibility with React 18+ Dec 5, 2023
@Bramikke Bramikke changed the title Zingchart-react compatibility with React 18+ Zingchart-React compatibility with React 18+ Dec 5, 2023
@jeanettephung jeanettephung merged commit 66e6a10 into zingchart:master Dec 7, 2023
1 of 2 checks passed
@Bramikke
Copy link
Contributor Author

Bramikke commented Dec 8, 2023

@jeanettephung I see the the test-workflow is failing. I assume it should be fixed by updating the Node version. (eg. 17.5.0)

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.

None yet

2 participants