-
Notifications
You must be signed in to change notification settings - Fork 816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename all Plugin classes to be package-specific #2187
Conversation
Also, add a generatePayload option to the BroadcastCacheUpdate instance that allows users to customize the payload sent.
In terms of a potential fallback, would that entail changing each package's That... doesn't sound too bad, and I'm assuming wouldn't result in a meaningful change to bundle sizes. But I guess it might lead to confusion as to which name to use if developers see both listed in an IDE's autocomplete (assuming they're importing from the I'm probably in favor of helping folks who are still using |
PR-Bot Size PluginChanged File Sizes
New FilesNo new files have been added. All File SizesView Table
Workbox Aggregate Size Plugin3.5KB gzip'ed (23% of limit) |
If we want to go deprecation route, I think it be better to make |
That's more overhead than I was hoping for. We can just go with the approach in this PR (and make sure that we update our docs/samples). |
SG, if we hear feedback we can always add later. |
R: @jeffposnick @philipwalton
Fixes #2072
@jeffposnick I opted not to include any kind of deprecation warning or fallback. Let me know if you think that's needed as I guess this might require a lot of people to change their code.