Skip to content

[Canvas][tech-debt] Kill Recompose:Pure - Part 1#73303

Merged
clintandrewhall merged 6 commits intoelastic:masterfrom
clintandrewhall:ts-recompose-pure
Jul 28, 2020
Merged

[Canvas][tech-debt] Kill Recompose:Pure - Part 1#73303
clintandrewhall merged 6 commits intoelastic:masterfrom
clintandrewhall:ts-recompose-pure

Conversation

@clintandrewhall
Copy link
Copy Markdown
Contributor

Summary

A broken-out PR from #73295

The pure HOC from recompose has been overused in our codebase, oftentimes wrapping function components. This PR kills the simpler instances of pure and applies best practices.

@clintandrewhall clintandrewhall added review Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas t// loe:small Small Level of Effort v8.0.0 release_note:skip Skip the PR/issue when compiling release notes impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. v7.10.0 labels Jul 27, 2020
@clintandrewhall clintandrewhall requested a review from a team July 27, 2020 15:40
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-canvas (Team:Canvas)

Copy link
Copy Markdown
Contributor

@crob611 crob611 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Nice work

@clintandrewhall
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@clintandrewhall
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Build metrics

async chunks size

id value diff baseline
canvas 1.5MB -100.0B 1.5MB

page load bundle size

id value diff baseline
canvas 1.4MB +1.9KB 1.4MB

History

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

@clintandrewhall clintandrewhall merged commit 7a3e800 into elastic:master Jul 28, 2020
@clintandrewhall clintandrewhall deleted the ts-recompose-pure branch July 28, 2020 22:59
clintandrewhall added a commit to clintandrewhall/kibana that referenced this pull request Jul 28, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
clintandrewhall added a commit that referenced this pull request Jul 30, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:small Small Level of Effort release_note:skip Skip the PR/issue when compiling release notes review Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas t// v7.10.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants