withTokenizeWorker and Diff
ornic opened this issue · 5 comments
ornic commented
New typescript version breaks connection between withTokenizeWorker
and Diff
, both exported from react-diff-view
.
Is this a planned break? If so, are there some simple update to old code? The one in https://github.com/otakustay/react-diff-view/blob/master/site/components/DiffView/index.tsx have rather different structure.
otakustay commented
Please provide me the errored code, I'll try to reproduce and fix it, it should be fully compatible
Kondorok commented
otakustay commented
Please help verify if 3.0.3
fixes this issue
ornic commented
Thank you!
https://codesandbox.io/s/dry-sun-5clunm?file=/src/App.tsx
Сodesandbox is having problem loading newest version this fast
Hope they will update their caches soon.
ornic commented
But it work perfectly in our internal project! 👍