Refactor project structure due to increasing number of code lines per page #339
Labels
area/core
area/workflow
kind/refactor
Non feature refactor change
triage/accepted
Triage has been accepted
What would you like to be added:
Pages are starting to grow larger and is exceeding 250 lines of code.
Why is this needed:
In order, to ensure maintainability of our code base due to increasing number of code lines. We should move internal components out of their respective pages.
To ensure separation of concerns, these internal components should be moved in to a folder called
_components
in their corresponding folders underpages/*
dir instead of thesrc/components
.Similarly, to constants.ts not allowed, by placing components that are only of concern to a single page into
src/components
will result in a mass of code concentration within project.Example for Blocks Page
/triage accepted
/area workflow
/kind refactor
The text was updated successfully, but these errors were encountered: