Me

51 views
Skip to first unread message

Maciej Jałocha (PL-tier)

unread,
Jan 17, 2024, 3:39:28 PM1/17/24
to Chromium Extensions
Hi,
I'm wondering if chrome.storage is in many case superior way for communication between parts of extensions (except for offscreen). When I compare it with the one-time requests within extension messaging, the only downsides I'm seeing are a) limits local storage size b) there is no handy sendResponse. For long-lived connections 
But the big benefit, often desirable, is that this method also "automatically" safely saves a message/information.
Is it indeed the case?

akalias

unread,
Jan 18, 2024, 4:18:23 AM1/18/24
to Chromium Extensions, Maciej Jałocha (PL-tier)
You do get notifications in the various components, so it can indeed be useful - though I've not ever been tempted to try and use it solely 
Reply all
Reply to author
Forward
0 new messages