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

refactor: modular components and add ContextProvider #197

Open
wants to merge 7 commits into
base: refactor-145-metadata-entry
Choose a base branch
from

Conversation

helen-m-lin
Copy link
Collaborator

@helen-m-lin helen-m-lin commented Oct 25, 2024

closes #196

  • Refactored large components into smaller reusable modules in /components/layout and /components/inputs
  • Implemented ContextProvider using React Context API to simplify state keeping logic and separate business logic from UI
  • Refactored components to use utils and context when possible and avoid props drilling
  • Updated JSDocs and unit tests as necessary
  • Updated directory structure for /components, /views, and /context as discussed in person. This will be documented in README in later PR.

@helen-m-lin helen-m-lin marked this pull request as ready for review October 25, 2024 22:59
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.

1 participant