qBittorrent
qBittorrent copied to clipboard
WebUI: avoid redundant re-initialization
ps. Will apply formatting after conflicting PRs are merged: #20951, #21000, #21007.
The question is rather rhetorical... Isn't there a way in "web programming" to have a more understandable/logical/manageable "path" of code execution instead of producing such guards?
Isn't there a way in "web programming" to have a more understandable/logical/manageable "path" of code execution instead of producing such guards?
Well, yeah. It's a matter of app architecture.
The WebUI has a fairly old legacy codebase. Web development changed dramatically over the years.
Resolved merge conflicts. This PR is ready.
PR updated to resolve merge conflicts.
Resolved merge conflicts. This PR is ready.
I just restored the previous approval.
Thanks! I early merged this PR since it might get in the way of later WebUI PRs.