You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am expecting the on_event.send to return an Err when the event handler is garbage collected on the JS side by the user navigated away from the page. Instead, I am getting this error on the front end.
TypeError: window['_' + 815124574] is not a function. (In 'window['_' + 815124574]({ message: response, id: 37 })', 'window['_' + 815124574]' is undefined)
As the Channels are evaluating JS under the hood, is it possible that the error is not properly handled?
If, I am misusing channels and there is an easier way to achieve this, I would love to learn.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have this command,
I am expecting the
on_event.send
to return anErr
when the event handler is garbage collected on the JS side by the user navigated away from the page. Instead, I am getting this error on the front end.As the Channels are evaluating JS under the hood, is it possible that the error is not properly handled?
If, I am misusing channels and there is an easier way to achieve this, I would love to learn.
Beta Was this translation helpful? Give feedback.
All reactions