I try to integrate this library in my React project, and I have some issues with that,
I've included all scripts in my index.html, and I try to initialize quiet-js like this:
Update: Initially I downloaded the library from the example page and I think there was an old version, then I downloaded the files directly from Github and now there are no errors.
Hi!
Is there a way of using this library with React?
I try to integrate this library in my React project, and I have some issues with that, I've included all scripts in my index.html, and I try to initialize quiet-js like this:
And I get the next error:
I tried to debug this and it seems that the error occurs on this line:
Does anyone have any ideas on how to fix this issue or provide some minimal example of integration with React?