python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Cannot spyOn on a primitive value; undefined given - Testing a function execution in onChange in connected component
New to testing and This is a connected component using redux. I am testing if the maskPromoCode function is called. With the current test code, the error says: Cannot spyOn on a primitive value; undef...
DollyBeeBee
Votes: 0
Answers: 1
Is there a way to download react websites?
I know it's possible to download the source code of a website along with all resources (css, html, JavaScript...) using chrome, httrack, wget, etc...
A react website can be downloaded the same way, I ...

Savvii
Votes: 0
Answers: 0
how to pause the other while one is playing wavesurfer.js?
We decided to use wavesurferJS in our React project. I have multiple audio files. How do I make the others stop when I play one of them? We tried almost all the solutions over the web. Nothing helped....

nigranac
Votes: 0
Answers: 0
upload multiple files with fetch
I am trying to receive more than one file per time using reactjs and flask api, but I get this error
data = file.read()
AttributeError: 'str' object has no attribute 'read'
fontend code using reactjs...

Ibraheem Alibraheem
Votes: 0
Answers: 2