emberjs / ember-inspector

Adds an Ember tab to the browser's Developer Tools that allows you to inspect Ember objects in your application.
MIT License
966 stars 286 forks source link

Public API for 3rd party integration #2542

Open lifeart opened 10 months ago

lifeart commented 10 months ago

At the moment ember-inspector has bunch of initialization magic (checking for some special props to exist). It would be great to have minimal public API to avoid hacking it around. It allow us to bring ember inspector to wider community.

I had few experiments for minimal script to boot ember inspector in custom environments:

No call to action here, just leaving some documentation (code references) how to deal with ember-inspector in 3rd party environments.

patricklx commented 10 months ago

I think it should just better integrate with ember core in an independent way. An idea here: https://github.com/emberjs/ember.js/pull/20580