-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Milestone
Description
Issue summary
Currently, there are many components that are not StrictMode compliant within Polaris because they using the legacy context API or use deprecated lifecycle methods. Given that React 16.7 will support a concurrent mode which should hopefully improve application performance for most situations, it would be great if Polaris because StrictMode compliant so that we could use it in the future without issue.
Expected behavior
Polaris should be StrictMode compliant
Actual behavior
Polaris is not StrictMode compliant
Steps to reproduce the problem
- Wrap Polaris components with the <React.StrictMode></React.StrictMode> component
- The console will begin spitting out errors.
Reduced test case
N/A
Specifications
N/A
mbaumbach
Metadata
Metadata
Assignees
Labels
No labels