title: Recreating swapchain vs using dynamic state on resize
body: <p>I have a vulkan application that uses GLFW as its window manager.</p>
  <p>Upon the window resize event, vulkan needs to update its drawable area. I have seen 2 ways that this is possible. One is to recreate the swapchain alongside all of the other objects that are tied to it and the other is to use dynamic state for the viewport so that recreation is not needed.</p>
  <p>What is the difference between these two and when should I prefer one over the other?</p>