I am creating a custom blog, in which I use the
\Magento\Framework\Registry and it is deprecated.
I searched for solution but I could only find the way to get the data without registry.
Is there's any way to set data without registry?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
I suggest you to read this article with discussion in the comments(!) -
Shortly: don't use session, use own class for registry.