We've got Native.on()
, how about Native.off()
?
#637
pocketninja
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Howdy!
Digging into NativePHP a bit atm - I've got a situation in an Inertia/React project where I'd like to listen to events in certain views, and remove those listeners when navigating away from that view.
Spotted there isn't a
Native.off()
/similar, and as that comes through Electron preload it's not easy/viable to do much about that (unless I've missed something)Would be pretty sweet to have a
.off()
added too I thinkI'll try and make some time to have a look at a PR for this, though I'm not sure how likely that is to happen at this point just yet.
Beta Was this translation helpful? Give feedback.
All reactions