-
Notifications
You must be signed in to change notification settings - Fork 47.1k
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
Interaction tracking follow up #13509
Interaction tracking follow up #13509
Commits on Sep 1, 2018
-
Add interaction-tracking FB+www builds
Brian Vaughn committedSep 1, 2018 Configuration menu - View commit details
-
Copy full SHA for 477efbe - Browse repository at this point
Copy the full SHA 477efbeView commit details -
Strip no-side-effect imports from Rollup bundles
Brian Vaughn committedSep 1, 2018 Configuration menu - View commit details
-
Copy full SHA for 1f5ee61 - Browse repository at this point
Copy the full SHA 1f5ee61View commit details -
Access interaction-tracking API through React.unstable_interactions
1. For CJS bundles, this will just re-export the interaction-tracking package but for UMD builds, it will inline the functionality to avoid breaking backwards compatibility. 2. All new interaction-tracking APIs are tagged as unstabled (e.g. React.unstable_interactions.wrap, import { unstable_track } from 'interaction-tracking')
Brian Vaughn committedSep 1, 2018 Configuration menu - View commit details
-
Copy full SHA for 019262b - Browse repository at this point
Copy the full SHA 019262bView commit details -
Add InteractionTracking production bundle test
Brian Vaughn committedSep 1, 2018 Configuration menu - View commit details
-
Copy full SHA for 4eaa18a - Browse repository at this point
Copy the full SHA 4eaa18aView commit details -
Edge case guard against a wrapped function being run multiple times
Brian Vaughn committedSep 1, 2018 Configuration menu - View commit details
-
Copy full SHA for 9448d38 - Browse repository at this point
Copy the full SHA 9448d38View commit details -
Brian Vaughn committed
Sep 1, 2018 Configuration menu - View commit details
-
Copy full SHA for b77673b - Browse repository at this point
Copy the full SHA b77673bView commit details -
Export subset of interaction-tracking API required by reconciler via …
…SECRET_INTERNALS This is being done so that UMD builds will continue to work without requiring a backwards breaking change. Application code should consume the new interaction-tracking API directly from NPM. Reconciler code will access the subset of the API it needs from the SECRET_INTERNALS object in order to avoid breaking UMD builds. As a result of this, interaction-tracking will not be supported for UMD builds.
Brian Vaughn committedSep 1, 2018 Configuration menu - View commit details
-
Copy full SHA for 4eec46b - Browse repository at this point
Copy the full SHA 4eec46bView commit details -
Merged interaction-tracking package into react-scheduler
React UMD bundles inlines the new react-scheduler package and exposes the API via the SECRET_INTERNALS object. UMD bundles of e.g. ReactDOM access the API this way. This avoids breaking backwards compat for UMD bundles (since it avoids requiring a new <script> tag). react CJS bundles to not inline the react-scheduler package. Instead, react-dom and other renderers import the shared NPM module. A hard NPM depedency has been added to react-dom and other renderers on the new react-scheduler package so that upgrades will not require any additional npm-install steps. A UMD bundle of the new react-scheduler also exists which defines the same public API but lazily forwards method calls to the React SECRET_INTERNALS inlined version. This allows the new API to be used in e.g. Code Pens if people want to.
Brian Vaughn committedSep 1, 2018 Configuration menu - View commit details
-
Copy full SHA for f889734 - Browse repository at this point
Copy the full SHA f889734View commit details -
Don't re-export react-scheduler APIs for CJS bundles
Brian Vaughn committedSep 1, 2018 Configuration menu - View commit details
-
Copy full SHA for 1a57f6e - Browse repository at this point
Copy the full SHA 1a57f6eView commit details -
Fixed inline bundling problem and added more fixture tests
Brian Vaughn committedSep 1, 2018 Configuration menu - View commit details
-
Copy full SHA for 5d9edc9 - Browse repository at this point
Copy the full SHA 5d9edc9View commit details -
Cleaned up inline comment about scheduling fork
Brian Vaughn committedSep 1, 2018 Configuration menu - View commit details
-
Copy full SHA for c5b4db2 - Browse repository at this point
Copy the full SHA c5b4db2View commit details -
Combined react-scheduler/tracking and react-scheduler/tracking-subscr…
…iptions entry points
Brian Vaughn committedSep 1, 2018 Configuration menu - View commit details
-
Copy full SHA for bc6f98f - Browse repository at this point
Copy the full SHA bc6f98fView commit details