-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Data Stores: migrate Subscriber store to createReduxStore
#74430
Conversation
8ba7c59
to
ad158e5
Compare
b156ddb
to
f553f85
Compare
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~20 bytes removed 📉 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @flootr 🙌
@@ -30,7 +30,6 @@ export * from './templates'; | |||
export * from './onboard/types'; | |||
export * from './domain-suggestions/types'; | |||
export * from './plans/types'; | |||
export * from './subscriber/types'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, those are already exported as Subscriber.
types and consumed only that way 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, and all works as expected. 👌
f553f85
to
2c4d57f
Compare
Proposed Changes
This PR migrates the Subscriber store to use
createReduxStore()
andregister()
instead ofregisterStore()
.Part of #74399 which is a follow-up to #73890.
Testing Instructions
/people/subscribers/:siteSlug
and hit Add subscriberPre-merge Checklist