How to Get Current Product in phtml Without Registry in Magento 2

deprecatedmagento2registry

I would like to get my current product in my phtml.
I saw lot of examples with registry in the Block file, but now, in M2.3, it's deprecated.

Someone have an idea how to do ?

Best Answer

My firm recently contacted Magento about this. According to them, there is no alternative way implemented yet.