Donaldcwl / browser-image-compression

Image compression in web browser
MIT License
1.3k stars 160 forks source link

Created a codesandbox demo for React, Hooks & Typescript #128

Open jimmythecode opened 3 years ago

jimmythecode commented 3 years ago

I was struggling to get things working, so I copied your React demo into codesandbox. Figured it might be of use to someone in my position: https://codesandbox.io/s/browser-image-compression-typescript-react-smk9g (there's some issue with codesandbox where it keeps giving "TypeError ...(intermediate value)...". It just means you have to click the refresh button at the top of the browser preview)

I've also created another that will fetch inputted URLs: https://codesandbox.io/s/browser-image-compression-fetch-file-2owp8?file=/src/App.tsx

fatih0057 commented 2 years ago

hello James First of all, I apologize for my English.(translate) I would be glad if you could help me with this issue. Best regards

https://github.com/Donaldcwl/browser-image-compression/issues/134#issue-1093840246

jrd656 commented 2 years ago

Hi Fatih. How can I help?

Donaldcwl commented 2 years ago

@fatih0057 see https://github.com/Donaldcwl/browser-image-compression/issues/134#issuecomment-1008243051