Skip to content

Conversation

@cjcenizal
Copy link
Contributor

Backports the following commits to 7.x:

* Reconcile request helpers with eslint rules for React hooks.
  - Add clearer cleanup logic for unmounted components.
  - Align logic and comments in np_ready_request.ts and original request.ts.
* Reorganize modules and convert tests to TS.
  - Split request.ts into send_request.ts and use_request.ts.
  - Convert test files into TS.
  - Relax SendRequestResponse type definition to type error as any instead of expecting an Error, since we weren't actually fulfilling this expectation.
* Convert everything to hooks and add test coverage for request behavior.
* Fix Watcher memoization bugs.
# Conflicts:
#	.eslintrc.js
@cjcenizal cjcenizal added the backport This PR is a backport of another PR label Aug 31, 2020
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

@kbn/optimizer bundle module count

id value diff baseline
esUiShared 229 +2 227

async chunks size

id value diff baseline
watcher 602.8KB +602.0B 602.2KB

page load bundle size

id value diff baseline
esUiShared 991.0KB +462.0B 990.6KB
indexManagement 737.2KB -8.0B 737.2KB
total +454.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@cjcenizal cjcenizal merged commit 0cbdd5b into elastic:7.x Aug 31, 2020
@cjcenizal cjcenizal deleted the backport/7.x/pr-72947 branch August 31, 2020 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants