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

project refactor #23

Open
nagarajpandith opened this issue Jan 29, 2023 · 1 comment
Open

project refactor #23

nagarajpandith opened this issue Jan 29, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed low-priority low priority issue compared to others already present

Comments

@nagarajpandith
Copy link
Member

nagarajpandith commented Jan 29, 2023

  • make the project more readable and fit for open source contributions.
  • sort out the imports on each file, for example: react-imports->3rd party lib imports -> component imports -> relative imports like stylesheets (this can be automated using tools like @ianvs/prettier-plugin-sort-imports)
  • fix the file and folder structure, a lot of things are not there where they have to be. follow atomic design pattern and arrange everything (especially components) into atoms, molecules & organisms. read more here
  • fix typescript errors (if any), check for lines where errors might have been escaped by disabling eslint typescript rules, remove those lines and fix the errors. the lines look like this // eslint-disable-next-line <some ts rule here> [resolved in this commit]
@nagarajpandith nagarajpandith added enhancement New feature or request help wanted Extra attention is needed low-priority low priority issue compared to others already present labels Jan 29, 2023
@nagarajpandith
Copy link
Member Author

nagarajpandith commented Feb 26, 2023

- check for unnecessary queries happening on each page. open devtools-> console and check these anomalies, and fix them using any of the methods. eg: memoizing the functions, using next js data fetching methods etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed low-priority low priority issue compared to others already present
Projects
None yet
Development

No branches or pull requests

1 participant