andrewdavey / immutable-devtools

Chrome Dev Tools custom formatter for Immutable-js values
BSD 3-Clause "New" or "Revised" License
661 stars 29 forks source link

Can this be an extension ? #17

Closed ganarajpr closed 8 years ago

ganarajpr commented 8 years ago

I think the question suggests everything but - would be great to have this as a chrome extension so that we can enable this as required.

langpavel commented 8 years ago

How to detect Immutable objects? Under the hood this is possible because of special properties on prototype called sentinels:

mattzeunert commented 8 years ago

I created a Chrome Extension based on Andrew's code.

https://chrome.google.com/webstore/detail/immutablejs-object-format/hgldghadipiblonfkkicmgcbbijnpeog

langpavel commented 8 years ago

@mattzeunert Hey you! :+1: Don't be shy, you should link it! mattzeunert/immutable-object-formatter-extension

There are some issues with Canary (#19) do you test it? I'm curious because it can be Chromium bug.

langpavel commented 8 years ago

Closing as this project will not be Chrome extension.

@mattzeunert feel free to edit Readme, add reference to your extension and create PR.

Daniel15 commented 8 years ago

Thanks for the awesome extension, @mattzeunert! It's working pretty well for me at Facebook :smile: