Closed wontheone1 closed 4 years ago
This burnt me as well, would be awesome to get that patch in if it's acceptable!
would be great to have an update patch for this error?
This currently breaks react-blurhash
in Electron when code isn't bundled. It also throws on createElement
being undefined.
Same issue here. Anyone got a solution?
this should work: https://github.com/zeroxme/react-blurhash
Hey anyone at WOLT would like to merge the fix?
cc @nygardk @muescha
Thanks to @zeroxme you can yarn add zeroxme/react-blurhash
in order to avoid the error.
Hello! Sorry about addressing this taking so long. I just published v0.1.3
. Can you verify if it works now as expected?
Hey @nygardk ! Thanks for your answer!
I confirm, v0.1.3
is working as intended 👍 ✅
Hey @nygardk ! Thanks for your answer!
I confirm,
v0.1.3
is working as intended 👍 ✅
Thanks 👍 !
disclaimer: I am not a frontend dev or js dev so I might be missing something basic...
I used Blurhash successfully in one of my component, but trying to import that component or Blurhash component in my .tsx test file gives me an error.
I run
my test code is
Test output is like
Looking at your repository's
package.json
,react
is only dev dependency but not included as a real dependency. Could it be an issue? Again... I don't know much about JS development so I might be doing something wrong...my dependencies in package.json look like