refactor: remove event listeners on window close + extract property null check
I have some ideas for refactoring the controller monolith into several single responsibility classes.
A validator class, which checks apiHost, loginToken and so on. So far I have extracted this logic to make the code cleaner and DRY'er
A "WindowClass" which handles what is now referred to as "nuxtWindow", i.e., creating windows, attaching event listeners, checking that only one window is open at a time etc.
This will be a large refactor, so I would like to discuss it further before I begin :-)
I have some ideas for refactoring the controller monolith into several single responsibility classes.
This will be a large refactor, so I would like to discuss it further before I begin :-)