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

Convert functional components to class components #5

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Jul 20, 2023

Description

This PR converts all functional components in the codebase to class components. It also replaces any hooks used in the functional components with equivalent class component code.

Changes Made

  • Converted functional components to class components
  • Replaced hooks with equivalent class component code

Testing

  • Tested the converted class components to ensure they function correctly

Related Issues

Resolves #[issue_number]

Checklist

  • I have tested the changes locally
  • I have added appropriate comments and documentation
  • I have updated the README if necessary

Fixes #1.

To checkout this PR branch, run the following command in your terminal:

git checkout sweep/convert-functional-to-class-components_1

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.

sweep: Turn all functional components into class components
0 participants