-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. #7147
Comments
Please follow the issue template |
@djhi can u take a look again? |
Thanks for reporting this. Please provide a sample application showing the issue by forking the following CodeSandbox (https://codesandbox.io/s/github/marmelab/react-admin/tree/master/examples/simple). |
@djhi My changes are here how you can reproduce it: |
Thanks for the report! We'll look into it |
Reproduced! |
What you were expecting:
I'm in a create page contains SimpleForm with some inputs and a reference input and i want to navigate to an other page by clicking in the menu or any other link
What happened instead:

i got this error in console
Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application.
Caused by the input refrence
Steps to reproduce:
Click in the ReferenceInput with or without selecting any option then change the page via the menu in the topbar or sidebar
Related code:


Environment
The text was updated successfully, but these errors were encountered: