How do I render nodes, now that node_view() has been deprecated?
The answer given by Berdir uses entityManager, which has been deprecated in favor of more specific services. This is the code I currently use.

$nid = 1;
$entity_type = 'node';
$view_mode = 'teaser';

$view_builder = \Drupal::entityTypeManager()-&gt;getViewBuilder($entity_type);
$storage = \Drupal::entityTypeManager()-&gt;getStorage($entity_type);
$node = $storage-&gt;load($nid);
$build = $view_builder-&gt;view($node, $view_mode);
$output = render($build);


This code is a little more verbose than some might like; you could reduce it down to a couple lines if you really want more brevity by chaining together some methods.

$nid = 1;
$entity_type = 'node';
$view_mode = 'teaser';

$node = \Drupal::entityTypeManager()-&gt;getStorage($entity_type)-&gt;load($nid);
$output = render(\Drupal::entityTypeManager()-&gt;getViewBuilder($entity_type)-&gt;view($node, $view_mode));