How do I get the node ID from the taxonomy term ID? In Drupal 7, we are using taxonomy_select_nodes() to get a list of nodes using a taxonomy term. 

What is the equivalent in versions after Drupal 7?
Use loadByProperties():

$nodes = \Drupal::entityTypeManager()
  -&gt;getStorage('node')
  -&gt;loadByProperties(['field_tags' =&gt; $tid]);