title: Select posts that have a specific term using withSelect in Gutenberg block
body: <p>I'm trying to select posts -- or more specifically, a custom post type -- that belong to a specific term, and display them in my Gutenberg block's edit screen. I'm wanting to recreate what would be tax_query with WP_Query, but in Javascript.</p>
  
  <p>I'm able to select posts, but I'm unsure what parameters to use with getEntityRecords to select by term (or if it is even possible). The documentation is still a little vague at this point.</p>
  
  <p>Here's where I'm at. This successfully selects all posts of the 'rmenu' type:</p>
  
  <pre><code>const items = select("core").getEntityRecords(
      "postType",
      "rmenu"
  );
  </code></pre>
  
  <p>Does anyone know if getEntityRecords is the right way to handle this?</p>
  
  <p>Thanks.</p>