Skip to content
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

[core] Restrict setRef usage to ref callback #16539

Merged
merged 1 commit into from
Jul 10, 2019

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Jul 9, 2019

or usage where extra care is taken of cleanup

Closes #13539

@eps1lon eps1lon added the core label Jul 9, 2019
@@ -68,7 +68,7 @@ describe('useScrollTrigger', () => {
assert.strictEqual(values.callCount, 1);
});

it('should be false by default when using setRef', () => {
Copy link
Member Author

Choose a reason for hiding this comment

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

I don't understand how this relates to setRef. Probably resolved during PR review?

@mui-pr-bot
Copy link

mui-pr-bot commented Jul 9, 2019

No bundle size changes comparing c6fc068...e18ac8f

Generated by 🚫 dangerJS against e18ac8f

@eps1lon eps1lon marked this pull request as ready for review July 9, 2019 20:01
or usage where extra care is taken of cleanup
@eps1lon eps1lon force-pushed the feat/internal-setRef branch from 46b1fe2 to e18ac8f Compare July 10, 2019 06:09
@oliviertassinari oliviertassinari merged commit f8fa793 into mui:master Jul 10, 2019
@eps1lon eps1lon deleted the feat/internal-setRef branch July 10, 2019 07:21
@zannager zannager added the core Infrastructure work going on behind the scenes label Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

setRef is possibly leaky
5 participants