Skip to content

[docs] Remove the withRoot HOC#13909

Merged
oliviertassinari merged 1 commit intomui:masterfrom
oliviertassinari:docs-remove-hoc-usage
Dec 15, 2018
Merged

[docs] Remove the withRoot HOC#13909
oliviertassinari merged 1 commit intomui:masterfrom
oliviertassinari:docs-remove-hoc-usage

Conversation

@oliviertassinari
Copy link
Copy Markdown
Member

@oliviertassinari oliviertassinari commented Dec 14, 2018

This change is straightforward. We are using an empty higher-order component for all our pages.
Better remove it.

@oliviertassinari oliviertassinari added type: new feature Expand the scope of the product to solve a new problem. docs Improvements or additions to the documentation. labels Dec 14, 2018
Comment thread pages/index.js
)(HomePage);
const Page = withStyles(styles)(HomePage);

// Hack for https://github.com/zeit/next.js/pull/5857
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@oliviertassinari oliviertassinari force-pushed the docs-remove-hoc-usage branch 2 times, most recently from da579b0 to efb8b81 Compare December 14, 2018 22:30
@oliviertassinari oliviertassinari merged commit c735b90 into mui:master Dec 15, 2018
@oliviertassinari oliviertassinari deleted the docs-remove-hoc-usage branch December 15, 2018 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to the documentation. type: new feature Expand the scope of the product to solve a new problem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant