Johan Fokeev

Results 31 comments of Johan Fokeev

@molefrog's implementation looks like what we need now. Looking for a "hash" property also https://www.w3schools.com/jsref/prop_loc_hash.asp

@kke but what if I need `private` methods in the `module`?

@kke show me, please, the correct way of using `module_function` if I have one public and 10 private methods

@kke your code doesn't look good. That's why I prefer `extend self`. I didn't find any other solution.

@Acey25 same issue here =\ following this https://gist.github.com/jbochi/2e8ddcc5939e70e5368326aa034a144e and it doesn't work

solution is to send ping messages https://github.com/robtaussig/react-use-websocket/issues/133#issuecomment-1105155442