storyblok-js
storyblok-js copied to clipboard
Bridge has no way to unbind events
StoryblokBridgeV2
has bridge.on(...)
but no bridge.off(...)
.
This can be a major issue for obvious reasons. If you're implementing an Event Emitter-like pattern, please allow us to also unsubscribe from events!
I also cannot find the repository for the bridge.js, is it closed source?
registerStoryblokBridge
should also return a function to unregister
const unregister = registerStoryblokBridge(...)