[pickers] Console warning when migrating from the lab
See original GitHub issueDuplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior 😯
I have warnings (in console displayed as errors) after migrating DatePickers from lab
to mui-x
.
Warning is Warning: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter?
.
I modified all files in the project. No exports from mui/lab
.
Maybe it will be helpfully. I use LoadingButton
components from @mui-lab
.
Issue Analytics
- State:
- Created a year ago
- Reactions:10
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Migration from @material-ui/pickers - MUI
To migrate from @mui/lab to @mui/x-date-pickers you can follow the dedicated migration guide. The date picker components were rewritten. In most places, the ......
Read more >Console warning when migrating from the MaterialUI lab
Don't import Lab components like this. import { LoadingButton } from '@mui/lab'. Use this:.
Read more >Migrate from UWP to the Windows App SDK with the .NET ...
Migrating from AppWindow-related APIs isn't supported. Where possible, the tool tries to generate a warning; and it intentionally causes your ...
Read more >Using version control and deploying | Looker - Google Cloud
When Looker shows the merge-conflict warning, it is recommended that you resolve the merge conflict before making any further changes. Pushing a ...
Read more >Safari Technology Preview Release Notes - Apple Developer
Changed to reject the getDisplayMedia prompt if the system picker times out (253260@main) ... Added a deprecation warning to the console for Web...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
When use imports like this
import { LoadingButton } from '@mui/lab';
you see warnings.When imports like this
import LoadingButton from '@mui/lab/LoadingButton';
(not from main index file) errors not will be displayed.same issue, after upgrading today to the latest version of
mui
,mui-lab
andx-date-pickers
I made the migration 1 month ago, so probably issue is not on migration ❔