Here the logic have changed since render is async. Previously loop was sent as a callback until prioritized was empty. Then it would render the rest. Now it will start to render all items at the same time.