Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

fix(ComponentExample|ComponentSourceManager): fix initial state of knobs, fix undeletable code #720

Merged
merged 3 commits into from
Jan 15, 2019

Conversation

layershifter
Copy link
Member

Fixes #719.
Fixes #668.


  • rename theme-context.tsxThemeContext.tsx
  • switch from old context API in ComponentExample

themeName: PropTypes.string,
}

componentWillMount() {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://reactjs.org/docs/react-component.html#unsafe_componentwillmount
This method is deprecated, switched to constructor

@layershifter layershifter added 🚀 ready for review 🧰 fix Introduces fix for broken behavior. labels Jan 14, 2019
@layershifter layershifter merged commit 584776e into master Jan 15, 2019
@layershifter layershifter deleted the fix/docs-knobs-initial branch January 15, 2019 09:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🧰 fix Introduces fix for broken behavior. 🚀 ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants