issues
search
connormaglynn
/
save-pinned-tabs-browser-plugin
This repository is managed in Terraform
1
stars
0
forks
source link
♻️ Refactor Javascript Into Layerd Architecture
#12
Closed
connormaglynn
closed
1 month ago
connormaglynn
commented
1 month ago
👀 Purpose
To refactor code into smaller modules to minimise the chance of introducing bugs by reducing duplication and separation of concerns
♻️ What's changed
Added several new files to separate the layers of the code, starting from the top:
Handlers - to handle events and route logic
Services and Views - to process data and display the UI
Repositories - For interacting with the persistence layer
📝 Notes
More layers and modules may be added in the future, such as a Client layer for interacting with external APIs such as the PinnedTabsClient etc.
No functional changes have been made
👀 Purpose
♻️ What's changed
📝 Notes