Skip to content

Using ObjectManager is not advised ... #3

@ckonkel

Description

@ckonkel

$url = \Magento\Framework\App\ObjectManager::getInstance()

I appreciate anyone willing to post there code here and the effort involved with supporting it... I was going to attempt a plugin like this for page insights, but stumbled on this, which uses di and observer ...

https://github.com/MeetanshiInc/Magento-2-Defer-Parsing-of-JavaScript

thoughts on this solution vs yours?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions