Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

guard against missing state object #295

Merged
merged 1 commit into from
Sep 9, 2017
Merged

guard against missing state object #295

merged 1 commit into from
Sep 9, 2017

Conversation

boygirl
Copy link
Contributor

@boygirl boygirl commented Sep 9, 2017

This PR guards against missing state object in the events helper where it's used rather than in componentWillMount

fixes FormidableLabs/victory#724

@boygirl boygirl merged commit 9c5a9d4 into master Sep 9, 2017
@boygirl boygirl deleted the bug/react-16-error branch September 9, 2017 04:16
@sovanjana
Copy link

Warning: VictoryAxis.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.

not just for VictoryAxis but for all Victory component I'm getting this warning message. I don't think this problem can be fixed by my side. Please reply...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Errors when using 'Victory' with React@16
2 participants