react-magic icon indicating copy to clipboard operation
react-magic copied to clipboard

Feature Request : Make this work in a web worker

Open ritz078 opened this issue 8 years ago • 1 comments

The library depends on the DOM for just escaping special characters. It can be done separately. This will help to run it in the worker.

ritz078 avatar Sep 12 '17 20:09 ritz078

The library depends on the DOM for just escaping special characters.

Not just that, it also walks the DOM as a means of parsing the HTML. You might be able to use jsdom within a web worker.

Daniel15 avatar Sep 12 '17 20:09 Daniel15