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

Convert class-based components to function-based #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Convert class-based components to function-based #11

wants to merge 1 commit into from

Conversation

akshatshah21
Copy link

@akshatshah21 akshatshah21 commented Oct 6, 2020

Fixes #10
This commit converts all components in src/components/ to function-based components. React hooks replace class lifecycle methods.
Tests are passing, and the example React app works the same way as it does on master.

This commit converts all components in src/components/ to function-based
components. React hooks replace class lifecycle methods.
Tests are passing, and the example React app works the same way as it
does on master.
@akshatshah21
Copy link
Author

@schirrel I request you to have a look at this.

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.

use hooks
2 participants