If you use document ready (DOM loaded) and window resized checks. Will you duplicate your code in both these check if you need the code in both events? So there are DOM loaded, Window Resize, Window Scroll and Window loaded checks. These are kind of our check points, that we can use to our advantage and use code inside these depending on when we want our particular code to be executed.
I use event listeners at the top and then I keep my functionalities in separate functions and then i call my functions inside those event listeners depending on need. I need screen check on DOM ready and on Window resized to check window width. So I am using that function in two locations but it is not duplication. I am just calling my function twice in both scenarios.