-
Notifications
You must be signed in to change notification settings - Fork 22
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
Preparations for React 17 compatibility, fix master build #341
Preparations for React 17 compatibility, fix master build #341
Conversation
Security InsightsNo security relevant content was detected by automated scans. Action Items
Questions or Comments? Reach out on Slack: #support-infosec. |
import 'dart:html'; | ||
|
||
import 'package:over_react/components.dart' show ErrorBoundary; |
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.
I fixed some deprecation warnings for ErrorBoundary
/setClientConfiguration
while I was in here
@@ -21,7 +21,6 @@ import 'package:http_parser/http_parser.dart' show MediaType; | |||
import 'package:mockito/mockito.dart'; | |||
import 'package:test/test.dart'; | |||
import 'package:w_transport/mock.dart'; | |||
import 'package:w_transport/src/http/auto_retry.dart'; |
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.
Unused import
<head> | ||
<title>{{testName}} Test</title> | ||
<script> | ||
// Workaround to Chrome 86 DDC issues: |
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.
This was necessary to fix tests failing in master
This is ready for review @sydneyjodon-wk @aaronlademann-wf (for some reason I could only request review from Sydney 🤷) FYI @evanweible-wf (fixes master build) |
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.
+1
QA +1
@Workiva/release-management-p |
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.
+1 from RM
Motivation
React 17 was released at the end of October and came with some exciting benefits. For the full list, see the ReactJS blog post.
For Workiva, upgrading so promptly is even more exciting because it:
Wdesk is currently using ReactJS
16.13.1
, and the Client Platform team has been working to upgrade our Dart wrappers to be compatible with the latest major version of ReactJS (17.x
). Now that major releases of thereact
(6.0.0
) andover_react
(4.0.0
) packages are ready to release, its time to begin making the entire Workiva front-end ecosystem compatible!Changes
This upgrade will be fundamentally simpler than the React 16 upgrade and will be much easier in comparison.
All changes/fixes will be handled by Client Platform before repo owners are requested for review(s).
react
/over_react
dependencies to allow the new major release versions to be pulled in once all downstream dependencies are also compatible.onScroll
events no longer bubbleAdditional changes
Release Notes
Make this library compatible with ReactJS 17.
QA Instructions
References
Created by Sourcegraph campaign
Workiva/react_17_rollout
.