Skip to content

Conversation

@seanvern
Copy link
Collaborator

Convert class component to functional component using react hooks.


componentDidMount() {
const ExternalComponent = (props) => {
const { src, module, export: exportName, coors, ...rest } = props;
Copy link
Owner

Choose a reason for hiding this comment

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

typo on cors

@ScriptedAlchemy ScriptedAlchemy changed the base branch from master to convert-to-hooks November 26, 2019 18:23
@ScriptedAlchemy ScriptedAlchemy merged commit 0b72027 into ScriptedAlchemy:convert-to-hooks Nov 26, 2019
ScriptedAlchemy pushed a commit that referenced this pull request Nov 26, 2019
ScriptedAlchemy added a commit that referenced this pull request Nov 26, 2019
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.

2 participants