title: SwiftUI, shortcutKey without button/View instance -- is it possible?
body: <p>in swiftUI exist <code>.keyboardShortcut()</code> modifier:</p>
  <pre><code>// run &quot;doSomeAction()&quot; on press of &quot;b&quot; key on the keyboard
  Button(&quot;SomeBtn&quot;) { doSomeAction() }
      .keyboardShortcut(&quot;b&quot;, modifiers: [])
  </code></pre>
  <p>but for usage of this modifier you need to have an <em><strong>instance of button</strong></em>.</p>
  <p>Question is -- is there are possible to apply some modifier without creation of any useless Views?</p>
  <p>What if I need to have 20 actions assigned to some keyboard keys?</p>
  <p>Do I need to create 20 buttons and make it invisible even if this is really bad for performance?</p>