I created a custom step checkout after payment step.

This new step calls "Resume Order".

In that step, I need to show the selected shipping address, selected payment method.

I know that checkout is built with js, so how can I get all the previous selected items from shipping, payment and cart?

The step is already created like [magento documentation][1]

So, how to bring previous selected data from previous checkout steps?

  [1]: https://devdocs.magento.com/guides/v2.0/howdoi/checkout/checkout_overview.html