Skip to content

[Modal] Forward refs#14738

Merged
eps1lon merged 3 commits into
mui:nextfrom
eps1lon:feat/Modal/forwardRef
Mar 5, 2019
Merged

[Modal] Forward refs#14738
eps1lon merged 3 commits into
mui:nextfrom
eps1lon:feat/Modal/forwardRef

Conversation

@eps1lon

@eps1lon eps1lon commented Mar 4, 2019

Copy link
Copy Markdown
Member

Continues #14536

@eps1lon eps1lon added breaking change Introduces changes that are not backward compatible. scope: modal Changes related to the modal. labels Mar 4, 2019
@eps1lon eps1lon added this to the v4 milestone Mar 4, 2019
* This component shares many concepts with [react-overlays](https://react-bootstrap.github.io/react-overlays/#modals).
*/
class Modal extends React.Component {
mounted = false;

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.

This was never read. Only written to.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

dead code :)

@mui-pr-bot

mui-pr-bot commented Mar 4, 2019

Copy link
Copy Markdown
Details of bundle changes.

Comparing: bcb4bec...b4387d9

bundle parsed diff gzip diff prev parsed current parsed prev gzip current gzip
@material-ui/core +0.01% 🔺 +0.01% 🔺 371,793 371,833 91,917 91,926
@material-ui/core/Paper 0.00% +0.01% 🔺 76,649 76,649 19,306 19,307
@material-ui/core/Paper.esm 0.00% -0.03% 71,599 71,599 18,790 18,784
@material-ui/core/Popper 0.00% +0.02% 🔺 30,462 30,462 10,583 10,585
@material-ui/core/styles/createMuiTheme 0.00% 0.00% 17,286 17,286 5,717 5,717
@material-ui/core/useMediaQuery 0.00% 0.00% 2,486 2,486 1,047 1,047
@material-ui/lab 0.00% -0.09% 184,282 184,282 50,618 50,570
@material-ui/styles 0.00% +0.01% 🔺 57,443 57,443 16,176 16,177
@material-ui/system 0.00% -0.04% 17,062 17,062 4,485 4,483
Button 0.00% -0.01% 99,409 99,409 26,614 26,612
Modal +0.28% 🔺 +0.26% 🔺 98,711 98,984 26,192 26,260
colorManipulator 0.00% 0.00% 3,232 3,232 1,296 1,296
docs.landing 0.00% 0.00% 51,773 51,773 11,244 11,244
docs.main +0.01% 🔺 0.00% 678,803 678,857 206,234 206,238
packages/material-ui/build/umd/material-ui.production.min.js 0.00% -0.02% 322,460 322,466 85,061 85,044

Generated by 🚫 dangerJS against b4387d9

eps1lon added 3 commits March 5, 2019 08:55
Tossed some out that had no meaningful assertion in it
or insufficient description of what the test is supposed to
do
@eps1lon
eps1lon force-pushed the feat/Modal/forwardRef branch from 77cd916 to b4387d9 Compare March 5, 2019 08:01
@eps1lon
eps1lon merged commit d4425c6 into mui:next Mar 5, 2019
@eps1lon
eps1lon deleted the feat/Modal/forwardRef branch March 5, 2019 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Introduces changes that are not backward compatible. scope: modal Changes related to the modal.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants