You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be handy to have this as a bookmarklet, so I could instantly inject it into a page that uses immutable-js without having to edit the site's code to pull this library in. Would that be possible? It looks like the formatter just needs to be added to the window.devtoolsFormatters array in the page's context. I guess the hard bit would be actually getting the reference to Immutable-js - It could probably assume there's either an Immutable global (eg. using immutable-js from CDN), or require('immutable') pulls it in (on some sites with CommonJS requires, eg. on Facebook).
The text was updated successfully, but these errors were encountered:
It would be handy to have this as a bookmarklet, so I could instantly inject it into a page that uses immutable-js without having to edit the site's code to pull this library in. Would that be possible? It looks like the formatter just needs to be added to the
window.devtoolsFormatters
array in the page's context. I guess the hard bit would be actually getting the reference to Immutable-js - It could probably assume there's either anImmutable
global (eg. using immutable-js from CDN), orrequire('immutable')
pulls it in (on some sites with CommonJS requires, eg. on Facebook).The text was updated successfully, but these errors were encountered: