The desired structure is:
elements – @oacore/design with patches
modules – complex components based on elements
- at the moment I see
depositing, content
templates – individual user activities we have such as deposit-dates, content, overview and so on, based on modules
pages – real routes mapped to templates and connected to global application state
app – global application setup
Three from the top should be state-independent, the last 2 can be dependent on the state (store) and Next.
The pages are dependent on Next anyway. The app could be split to Next-dependent and independent one. However, with Next 9.3 we can have it independent at all.
The desired structure is:
elements–@oacore/designwith patchesmodules– complex components based onelementsdepositing,contenttemplates– individual user activities we have such asdeposit-dates,content,overviewand so on, based onmodulespages– real routes mapped to templates and connected to global application stateapp– global application setupThree from the top should be state-independent, the last 2 can be dependent on the state (store) and Next.
The
pagesare dependent on Next anyway. Theappcould be split to Next-dependent and independent one. However, with Next 9.3 we can have it independent at all.