Closed houyaowei closed 5 years ago
Hey~! This is an IE thing in regards to localhost
connecting over wss://
protocols. Here's a SO answer I found that explains it & gives a workaround: https://stackoverflow.com/a/20145203/3577474
I'm going to close this since it's not related to Sockette – but I'd be curious to hear if those steps solved it for you. Thanks!
react version: 16.2.0
import the lib:
import
Sockette from "sockette";`get init instance:
after the component loaded . then refresh the browser , this error occured :
how can I fix this problem? thanks