@get-bb/plugin-sdk 0.6.150 → 0.6.164

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -106,7 +106,10 @@ a React slot. The host supplies `{ pluginId, generation, signal }`, awaits
106
106
  mount setup, and owns abort plus exact-once reverse-order disposal across hash
107
107
  reload, disable, removal, failed replacement, and app-window teardown. The old
108
108
  generation is disposed before candidate mounts, so generations never overlap.
109
- Content scripts are trusted same-origin page code, not a sandbox.
109
+ When the page unloads, the host aborts and cleans up content scripts but leaves
110
+ slot components mounted for the browser to discard, so React effect cleanups do
111
+ not run at unload. Save state as it changes, or flush it from a content script
112
+ cleanup. Content scripts are trusted same-origin page code, not a sandbox.
110
113
 
111
114
  Static styles should stay in the normal imported `app.css`. The host keeps
112
115
  that stylesheet active while the plugin has rendered slot, panel-header, or