In Drupal 7, I used the following code implementing views_embed_view in a render array.
$view_output = views_embed_view($view_name, $display_id, $uid);
$page['profile']['bio_mobile'] = array(
'#type' => 'markup',
'#markup' => $view_output,
'#prefix' => '<div class="mobile-display">',
'#suffix' => '</div>',
);
How do I do that using Drupal 8? Although the function is still documented, it return nothing more than just the array I passed in.