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

Create coloraxis inside useEffect #253

Merged
merged 1 commit into from
Dec 4, 2019
Merged

Create coloraxis inside useEffect #253

merged 1 commit into from
Dec 4, 2019

Conversation

anajavi
Copy link
Collaborator

@anajavi anajavi commented Dec 3, 2019

As found in #251, creating highcharts objects outside of useEffect is not safe in all cases.

Quite straightforward, I think it can be merged immediately.

@anajavi anajavi added this to the Version 4 milestone Dec 3, 2019
@anajavi anajavi requested a review from whawker December 3, 2019 07:53
@codecov-io
Copy link

codecov-io commented Dec 3, 2019

Codecov Report

Merging #253 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #253      +/-   ##
==========================================
+ Coverage   87.75%   87.78%   +0.02%     
==========================================
  Files          82       82              
  Lines        1021     1023       +2     
  Branches      194      194              
==========================================
+ Hits          896      898       +2     
  Misses        106      106              
  Partials       19       19
Impacted Files Coverage Δ
...x-highcharts/src/components/ColorAxis/ColorAxis.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e583fd6...462bfd6. Read the comment docs.

@whawker
Copy link
Owner

whawker commented Dec 4, 2019

Nice work!

@whawker whawker merged commit 92d4a43 into master Dec 4, 2019
@anajavi anajavi deleted the coloraxis-effect branch December 5, 2019 05:27
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.

3 participants